We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d0e60f + cedd4a1 commit b34126cCopy full SHA for b34126c
packages/tosu/src/index.ts
@@ -99,8 +99,14 @@ const currentVersion = require(process.cwd() + '/_version.js');
99
instanceManager.runWatcher();
100
instanceManager.runDetemination();
101
102
- configEvents.addListener('change', httpServer.handleConfigUpdate);
103
- configEvents.addListener('change', instanceManager.handleConfigUpdate);
+ configEvents.addListener(
+ 'change',
104
+ httpServer.handleConfigUpdate.bind(httpServer)
105
+ );
106
107
108
+ instanceManager.handleConfigUpdate.bind(instanceManager)
109
110
111
if (config.enableIngameOverlay) instanceManager.startOverlay();
112
})();
0 commit comments