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

npm script hangs on Windows with "Terminate batch job (Y/N)?" prompt #115

Open
DeltaWhy opened this issue Jun 12, 2018 · 0 comments
Open

Comments

@DeltaWhy
Copy link

DeltaWhy commented Jun 12, 2018

My Procfile contains a line webpack: cd gui && npm run watch, which fails to exit cleanly on interrupt (CTRL-C). Instead I get a prompt Terminate batch job (Y/N)? which I can't answer.

When executing npm run watch from a cmd promt, I can suppress this prompt by redirecting input from NUL (Windows equivalent of /dev/null), however doing the same in my Procfile doesn't solve the issue - there's no prompt printed but it still hangs. Using yarn instead of npm does exit cleanly, with or without the redirect.

Any idea what's going on?

@DeltaWhy DeltaWhy changed the title CTRL-C hangs on Windows with "Terminate batch job (Y/N)?" prompt npm script hangs on Windows with "Terminate batch job (Y/N)?" prompt Jun 12, 2018
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

1 participant