Skip to content
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

Unable to restart nodemon when started using nf start #146

Closed
SaitejaP opened this issue Jun 15, 2017 · 2 comments
Closed

Unable to restart nodemon when started using nf start #146

SaitejaP opened this issue Jun 15, 2017 · 2 comments
Labels

Comments

@SaitejaP
Copy link

my npm start script contains babel index.js -o server.js && nodemon --optimize_for_size --max_old_space_size=920 --gc_interval=100 --harmony server.js

nf executes the script and outputs the result. To restart the nodemon server, I typed rs and I think its not passed to nodemon so nodemon could not restart the server. Is this intended or is there anything trivial that I am missing?

@rmg
Copy link
Member

rmg commented Jun 29, 2018

When you run nodemon directly it is giving you an interactive prompt, almost like a REPL, that you can give commands to.

When you run processes via nf, they are run in sub-shells with their inputs detached or closed and their outputs captured and decorated for multi-process logging.

When running multiple processes there would be no reasonable way to know which process should have stdin attached to nf's stdin. :-(

@stale
Copy link

stale bot commented Aug 28, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 28, 2018
@stale stale bot closed this as completed Sep 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants