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
I am having an issue: When forever tries to restart because of a file change it dies.
I am starting it like this: forever start -v --watch --watchedDirectory=/Users/lukasoppermann/code/veare -c ts-node app.ts
No error is shown after a file change, but forever list shows the process as stopped. The error log shows the following:
error: Could not read .foreverignore file.
error: ENOENT: no such file or directory, open '/Users/lukasoppermann/Code/veare/.foreverignore'
Running on http://localhost:8080
error: restarting script because change changed
error: Forever detected script was killed by signal: SIGKILL
error: Script restart attempt #1
Running on http://localhost:8080
Error: listen EADDRINUSE :::8080
at Object.exports._errnoException (util.js:1050:11)
at exports._exceptionWithHostPort (util.js:1073:20)
at Server.setupListenHandle [as _listen2] (net.js:1259:14)
at listenInCluster (net.js:1307:12)
at Server.listen (net.js:1406:7)
at Function.listen (/Users/lukasoppermann/Code/veare/node_modules/express/lib/application.js:618:24)
at Object. (/Users/lukasoppermann/Code/veare/app.ts:22:5)
at Module._compile (module.js:571:32)
at Module.m._compile (/Users/lukasoppermann/Code/veare/node_modules/ts-node/src/index.ts:385:23)
at Module._extensions..js (module.js:580:10)
error: Forever detected script exited with code: 1
What am I doing wrong? Thanks for your help. Please let me know if I can provide any more info to solve this.
Could this be related to #931 and the issue occurs because a process using the same PORT is still running?
Running forever start -v --watch --watchedDirectory=/Users/lukasoppermann/code/veare -c ts-node app.ts again results in a stopped process as well. Same when running restart.
However when I kill all processes manually first, I can start without a problem.
The text was updated successfully, but these errors were encountered:
Hey,
I am having an issue: When forever tries to restart because of a file change it dies.
I am starting it like this:
forever start -v --watch --watchedDirectory=/Users/lukasoppermann/code/veare -c ts-node app.ts
No error is shown after a file change, but
forever list
shows the process as stopped. The error log shows the following:What am I doing wrong? Thanks for your help. Please let me know if I can provide any more info to solve this.
Could this be related to #931 and the issue occurs because a process using the same PORT is still running?
Running
forever start -v --watch --watchedDirectory=/Users/lukasoppermann/code/veare -c ts-node app.ts
again results in a stopped process as well. Same when runningrestart
.However when I kill all processes manually first, I can
start
without a problem.The text was updated successfully, but these errors were encountered: