Using the webpack project generated by vue-cli, because it already comes with express, I don’t want to build an express service myself. I write the api directly in vue-cli’s express, but now I can’t modify express. Automatically restart the express service, and I have to manually npm run dev every time, which is very tiring! I just want to ask if there is a way to automatically restart the express service after modifying express. The webpack configuration of vue-cli will not be changed. Please give me some advice! ! ! !
https://nodemon.io/
This tool will automatically monitor your file routing changes and restart the server