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

Running required nodemon multiple times #286

Closed
remy opened this issue Jan 29, 2014 · 7 comments
Closed

Running required nodemon multiple times #286

remy opened this issue Jan 29, 2014 · 7 comments

Comments

@remy
Copy link
Owner

remy commented Jan 29, 2014

Will fix this ColemanGariety/gulp-nodemon#6

Currently if you require nodemon, it's a static, so you can require multiple times (or rather - it makes no difference).

I'm not sure what to do right now, whether nodemon should return a new instance (which is potentially a lot of work...possibly) or whether nodemon internally tracks multiple monitors (which is potentially messy).

Would love any community input, ideas and help to code this up if possible.

@darzu
Copy link

darzu commented Jul 19, 2014

I'm running into this issue myself. (I'm trying to run multiple instances via Gulp.) I think returning new instances makes the most sense although I can see how that would be a big refactor and definitely API breaking. Still, I think that'd be the right thing to do. I'm working on getting familiar with the codebase now to see how much work it'd be.

@let4be
Copy link

let4be commented Jul 4, 2015

a whole year passed and issue is not resolved ^^
The same problem, any workaround?

@darzu
Copy link

darzu commented Jul 6, 2015

For my project, I think we ended up using https://github.com/substack/watchify or the built-in Gulp watch features.

@ratson
Copy link

ratson commented Jul 4, 2016

@remy Is there any plan to add this feature?

@remy
Copy link
Owner Author

remy commented Jun 29, 2017

No, not without a PR.

@remy remy closed this as completed Jun 29, 2017
@simison
Copy link

simison commented Jun 29, 2017

We've been using concurrently together with gulp-nodemon: https://github.com/Trustroots/trustroots/blob/master/package.json#L22

@mjy78
Copy link

mjy78 commented Sep 20, 2017

If you're using gulp to launch nodemon you can use node-multi-process to launch multiple instances. See example here ColemanGariety/gulp-nodemon#6 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants