Answer the question
In order to leave comments, you need to log in
How to use nodemon to perform multiple actions on file changes?
it is necessary that when the files change, the webpack is built and the server/index.js is reloaded, how to do this?
"scripts": {
"build": "webpack --mode production",
"dev": "cross-env NODE_ENV=development PORT=3000 nodemon server/index.js"
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question