-
Notifications
You must be signed in to change notification settings - Fork 363
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
Webpack dashboard spawning Node.js visible terminal on Windows #212
Comments
More trial and error - I discovered that configuring via the "old" method and just running |
@carlospaelinck -- If you have a moment + PowerShell in a VM can you check this one out? (And we may need to request an actual respository + minimal reproduction steps for consistent diagnosis from @cchamberlain ) |
@ryan-roemer I'm assuming its environment related, but I'll try and get to testing against a |
@cchamberlain I have verified this. Now the window quickly disappears if you're not watching the project, but will remain for the lifetime of the webpack process. Not sure yet if it's a Node thing, webpack 3+ thing or inspectpack thing. |
As a side note, I'll typically have to kill both processes after I shut it down. |
@carlospaelinck @cchamberlain -- We could perhaps try https://github.com/pkrumins/node-tree-kill and process tracking which I've had good experiences with in the past if anyone has time to experiment as a solution to at least one aspect of the problem here... |
If i'm adding quiet: true to the devServer config it opens the second node process still, but there's no more output in it at least . |
Hopefully this is closed out by #284. Per the Node docs:
#284 adds a conditional OS check to set |
A second terminal window Node.js desktop terminal (never used this terminal) spawns when I run
yarn run dashboard
. Have tried many variations of the startup script and this always seems to happen.I didn't see any mention of this in docs - if this is a normal thing just LMK and I'll submit a
README.md
PR.====================================================================
If the issue is visual, please provide screenshots here
This is what I see. Same thing if I run with PowerShell:
====================================================================
Steps to reproduce the problem
Start
webpack-dashboard
via scripts (haven't tested outside of npm scripts).====================================================================
Please provide a gist of relevant files
package.json relevant scripts - have tried putting this all in one script and doesn't change anything regardless of whether I use cross-env etc.
This script gets the same results:
Can't post this but its using the default setup from the examples:
Just uses
webpack-dev-server
.====================================================================
More Details
2.0.4
. Also happens in PowerShell or if I entercmd
.1.0.0
echo $TERM
?echo $env:TERM
:xterm-256color
The text was updated successfully, but these errors were encountered: