browserify / watchify

watch mode for browserify builds
Other
1.79k stars 181 forks source link

Watchify shouldn't write byte/time notifications to stderr #310

Closed lordvlad closed 8 years ago

lordvlad commented 8 years ago

npm-run-parallel kills itself when it receives bytes on stderr. For example try

    package.json

    "watch-js": "watchify src/index.js -d -v -o dist/bundle.js",
    "serve": "http-server",
    "dev": "npm-run-parallel serve watch-js"
lordvlad commented 8 years ago

As a workaround I use the following for the time being

     package.json

     "watch-js": "watchify src/index.js -d -v -o dist/bundle.js 2>&1"
mattdesl commented 8 years ago

This sounds like a bug with npm-run-parallel. Many CLI tools write to process.stderr for debug/diagnostics/info logs.

Sent from my iPhone

On Mar 3, 2016, at 8:33 AM, Waldemar Reusch notifications@github.com wrote:

As a workaround I use the following for the time being

 package.json

 "watch-js": "watchify src/index.js -d -v -o dist/bundle.js 2>&1"

— Reply to this email directly or view it on GitHub.

lordvlad commented 8 years ago

Do they? Feels kinda funny though. But thanks for the hint, I'll have a look into the npm-run-parallel source, then.