Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use stdin=inhert on vanilla run
* fix: non-utf8 stdin processing Fixes #890 Ref FormidableLabs/webpack-dashboard#16 The library blessed inside of the webpack-dashboard does some funky stuff with std streams and the expectation of the encoding. I'm not 100% sure of this change, I've got to see all the tests, but this tweak moves to inherit the child's stdin and doesn't purposely encode the stdin stream as utf8 (which, I don't recall exactly why I did this in the first place…though I'm fairly sure it was another issue somewhere else in nodemon). * fix: use stdin:inherit when we're not forked * fix: don't use inherit when required * style: lint * style: I am going to 🐎 kick the lint in the 🌰
- Loading branch information
58a236e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when I run 'nodemon' my node server doesn't automatically restart when I make changes and save. Was this intentional?
58a236e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @remy, this update caused a bit of havok with our setup. We use docker-compose for development, and each of our services is defined something like this:
npm run dev
script does this:NODE_ENV=local nodemon index.js
Since 1.10.1, starting the services results in the following error (changing
nodemon
tonode
works as expected):I've locked down our nodemon versions to 1.10.0 for now.
58a236e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dylansmith - I see something very similar. Running in dev mode using nodemon kicked off via docker-compose.
58a236e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is now reverted in [email protected]