Process queues before exporting plugins
Summary: This diff makes sure that pending queues for plugins that are selected are processed before making a flipper export. Reviewed By: jknoxville Differential Revision: D19194211 fbshipit-source-id: e076375889450407e7f94384051719f3bbc415ee
This commit is contained in:
committed by
Facebook Github Bot
parent
0494a84d98
commit
b8e752412e
@@ -10,6 +10,7 @@
|
||||
import {createStore} from 'redux';
|
||||
import reducers, {Actions, State as StoreState} from './reducers/index';
|
||||
import {stateSanitizer} from './utils/reduxDevToolsConfig';
|
||||
import isProduction from './utils/isProduction';
|
||||
|
||||
export const store = createStore<StoreState, Actions, any, any>(
|
||||
reducers,
|
||||
@@ -20,3 +21,9 @@ export const store = createStore<StoreState, Actions, any, any>(
|
||||
})
|
||||
: undefined,
|
||||
);
|
||||
|
||||
if (!isProduction()) {
|
||||
// For debugging purposes only
|
||||
// @ts-ignore
|
||||
window.flipperStore = store;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user