Make self inspection available for all devs - internal and open source
Summary: Flipper self inspection is being used by internal devs for a month now and peeple seems happy with it :) Let's make it available to open source devs! changelog: Flipper Self inspection - Flipper Messages plugin added to dev builds to show messages sent/received from clients Reviewed By: jknoxville Differential Revision: D23345560 fbshipit-source-id: 95bac52b966a78fbfa8e4d4c4e15d9d45ca960f7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
381f31526c
commit
ce12c4e3df
@@ -101,10 +101,7 @@ class Server extends EventEmitter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
if (
|
if (process.env.NODE_ENV === 'development') {
|
||||||
process.env.NODE_ENV === 'development' &&
|
|
||||||
GK.get('flipper_self_inspection')
|
|
||||||
) {
|
|
||||||
initSelfInpector(this.store, this.logger, this, this.connections);
|
initSelfInpector(this.store, this.logger, this, this.connections);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user