Fix packager reload command not working

Reviewed By: yungsters, mmmulani

Differential Revision: D5061001

fbshipit-source-id: 8b75c95525f90955a8dc2054861ad3b6e25eab1d
This commit is contained in:
Pieter De Baets
2017-05-15 10:16:39 -07:00
committed by Facebook Github Bot
parent f8b683b3ee
commit 49c4c0c942
2 changed files with 9 additions and 3 deletions

View File

@@ -41,8 +41,8 @@
_bridge = bridge;
_handlers = [NSMutableDictionary new];
_handlers[@"reload"] = [[RCTReloadPackagerMethod alloc] initWithBridge:_bridge];
_handlers[@"pokeSamplingProfiler"] = [[RCTSamplingProfilerPackagerMethod alloc] initWithBridge:_bridge];
_handlers[@"reload"] = [[RCTReloadPackagerMethod alloc] initWithBridge:bridge];
_handlers[@"pokeSamplingProfiler"] = [[RCTSamplingProfilerPackagerMethod alloc] initWithBridge:bridge];
[self connect];
}