Visual Studio 2017 Pre-Recording

I want to run an npm script every time my project starts. This command will start the clock that starts the exchange of the hot part of the web package. It looks like this:

npm run watch:dev:hmr

I know that I can do this from post and pre build messages, but I do not want to start the clock after each build. I just want to start it before starting a new instance of my project and, ideally, stop it when the instance stops.

Can this be done?

+5
source share

Source: https://habr.com/ru/post/1265585/


All Articles