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

Webpack watch #13

Open
tylermcginnis opened this issue Aug 12, 2020 · 2 comments
Open

Webpack watch #13

tylermcginnis opened this issue Aug 12, 2020 · 2 comments

Comments

@tylermcginnis
Copy link
Collaborator

Screen Shot 2020-08-12 at 2 12 14 PM

@kabison33
Copy link

kabison33 commented Aug 13, 2020

I put webpack -w && nodemon server.js and only webpack starts watching but nodemon does not start listening..
If remove the -w from the script, webpack doesn't watch (ofc) but nodemon is listening.. Looks like if -w is written, only one of the command can execute. Why is this?..

@Sunny-unik
Copy link

I use concurrently to run both of these tasks concurrently, like:

{ "dev": "concurrently \"webpack --mode=development -w\" \"nodemon dist/server\"" }

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

3 participants