-
-
Notifications
You must be signed in to change notification settings - Fork 222
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 restart with 'rs' not working #121
Comments
Unfortunately, concurrently does nothing to the processes' stdin. |
I'll see if I can manage to make a PR and post here if I'll start working on it. |
I would also have loved to see this feature, but I guess the hassle this module saves is work typing in |
is worth?
…On Fri, 13 Oct 2017 at 13:56, Saar Levy ***@***.***> wrote:
I would also have loved to see this feature, but I guess the hassle this
module saves is work typing in Ctrl +c + npm start
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/kimmobrunfeldt/concurrently/issues/121#issuecomment-336431648>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVepSqW05t6ET6S1bmP_3GZ2YurQ8jZzks5sr0_0gaJpZM4PAelK>
.
|
@pgraham https://github.com/kimmobrunfeldt/concurrently/pull/128, this pr works without '-r'(--row),
https://github.com/kimmobrunfeldt/concurrently/issues/115, this answer solve my question. |
* Log output on stderr of child processes in functional tests. Helps with debugging programmer errors * Add handling for input, allowing input to be directed to any of the child processes. (#121)
Released, finally 🙌 install v3.6.0 now to get this and other goodness! |
I am running the latest 3.6.0 and node 10.4.1. Have this npm script that launches a few watch jobs in parallel: $ concurrently --raw 'npm run watch:build' 'npm run watch:apidoc' 'npm run watch:test:unit' 'npm run watch:server'` The watch mode starts fine for all. However typing "rs" to restart nodemon and hitting "Enter" (or simply hitting "Enter") started to crash with the same type of error and leaving npm/node zombie processes behind that I need to kill manually: TypeError: Cannot read property 'write' of null
at ReadStream.process.stdin.on (/Users/dmoore/projects/api/node_modules/concurrently/src/main.js:306:26)
at ReadStream.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
at readableAddChunk (_stream_readable.js:264:11)
at ReadStream.Readable.push (_stream_readable.js:219:10)
at TTY.onread (net.js:635:20)
[dmoore (test-add-condition-to-relation)]$ rsevents.js:167
throw er; // Unhandled 'error' event
^
Error: read EIO
at TTY.onread (net.js:656:25)
Emitted 'error' event at:
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! api@0.1.0 watch:server: `nodemon --delay 1000ms './dist/index.js' --watch './dist' --ext 'js'`
npm ERR! Exit status 1 |
Great module!
One issue though it seems.
When I start my create-react-app and express server with:
concurrently \"react-scripts start\" \"nodemon server/main.js\
Restarting the server with nodemon by typing
rs
doesn't work anymore. I tried starting concurrently in reversed order bu no avail.Any ideas?
concurrently: ^3.5.0
nodemon: ^1.11.0
The text was updated successfully, but these errors were encountered: