-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
nodemon crashes when --help is redirected to a file #1807
nodemon crashes when --help is redirected to a file #1807
Comments
This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up. |
Fixes: #1807 Allows for nodemon --help > help.txt
@khardix that fix was on point - and doesn't really need a test to go along side as it doesn't affect core running. I've got a PR (bit late) but it'll go live today. |
Fixes: #1807 Allows for nodemon --help > help.txt
nodemon -v
: master: 3d2320fnode -v
: v14.14.0node bin/nodemon.js --help >help.log
Expected behaviour
No output;
help.log
contains the help message.Actual behaviour
Steps to reproduce
Run the command with the redirect.
Note
The following patch seems to fix the issue; however, since I did not yet dedicated enough time to understand the test suite (I'm not a JavaScript developer), I was unable to add appropriate tests for it. That is also the reason I'm submitting this as a bug report rather than a pull request.
The text was updated successfully, but these errors were encountered: