-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to restart a Express/Koa server? #49
Comments
I'm closing this as it's more of a Koa question than chokidar-cli (and besides, it's one year old..) |
Not a Koa question. More of a question with killing child processes. https://github.com/kimmobrunfeldt/chokidar-cli/pull/29 fixes it and should be reviewed/merged. |
I believe this should be reopened and #29 given due attention? |
https://www.npmjs.com/package/chokidar-cli-infanticide is just #29 merged and worked well for me. |
I'm trying to watch all my src files and rerun Koa when a file is changed, but keep hitting
Error: listen EADDRINUSE :::3000
."chokidar": "chokidar '**/*.js' -c 'node dist/server'"
Any ideas how to force Koa to die before running
node dist/server
?The text was updated successfully, but these errors were encountered: