You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally I'd run npm run watch and it would run the npm run debug script. Works fine -- once. After it restarts all it will do is attempt to start then hit an error and restart (loop):
Unable to open devtools socket: address already in use
If I take off the --inspect call I get this error:
Error: listen EADDRINUSE :::5567
Even with no --debug flag at all I still get an error on restart but this time it's in the Hapi API:
Building a Hapi.js API. I'd like supervisor to restart the process with
--debug
via my package.json:Ideally I'd run
npm run watch
and it would run thenpm run debug
script. Works fine -- once. After it restarts all it will do is attempt to start then hit an error and restart (loop):Unable to open devtools socket: address already in use
If I take off the
--inspect
call I get this error:Error: listen EADDRINUSE :::5567
Even with no
--debug
flag at all I still get an error on restart but this time it's in the Hapi API:Adding in
-k
to the supervisor call doesn't work. I don't have anything listening to SIGTERM.I'm trying to keep all my runs scripts in package.json, so adding a new gulp task is something I'd like to avoid.
The text was updated successfully, but these errors were encountered: