diff --git a/packages/tosu/src/index.ts b/packages/tosu/src/index.ts index 6d9c2a84..583bf921 100644 --- a/packages/tosu/src/index.ts +++ b/packages/tosu/src/index.ts @@ -10,6 +10,8 @@ import { InstanceManager } from './objects/instanceManager/instanceManager'; const instanceManager = new InstanceManager(); const httpServer = new Server({ instanceManager }); + watchConfigFile({ httpServer, initial: true }); + const { update } = argumetsParser(process.argv); const isDev = process.env.NODE_ENV !== 'development'; @@ -21,8 +23,6 @@ import { InstanceManager } from './objects/instanceManager/instanceManager'; await checkUpdates(); } - watchConfigFile({ httpServer, initial: true }); - wLogger.info('Searching for osu!'); httpServer.start();