Dev: server restarts a lot on startup
When launching make dev
it looks like the watcher is launched too soon and the server restarts before everything is actually ready:
7:33:24 PM - Starting compilation in watch mode...
[1] [3]
[0] ℹ 「wds」: Project is running at http://0.0.0.0:8080/
[0] ℹ 「wds」: webpack output is served from /
[0] ℹ 「wds」: Content not from webpack is served from /home/nicofrand/www/kresus
[2] [nodemon] restarting due to changes...
[2] [nodemon] starting `node ./bin/kresus.js --config config.ini`
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] starting `node ./bin/kresus.js --config config.ini`
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] starting `node ./bin/kresus.js --config config.ini`
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] starting `node ./bin/kresus.js --config config.ini`
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] starting `node ./bin/kresus.js --config config.ini`
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] starting `node ./bin/kresus.js --config config.ini`
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] starting `node ./bin/kresus.js --config config.ini`
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] restarting due to changes...
[2] [nodemon] starting `node ./bin/kresus.js --config config.ini`