So when I do npm run dev, webpack dev server will start and if there is nothing wrong, the browser will open.
Only problem that, When I make change in wepack.config file, nodemon will restart server and another browser window will open. Why would I want a second browser window? Is there way to let this plugin know that there is already one browser window opened, no need to open another one?
My dev command is like this
So when I do
npm run dev
, webpack dev server will start and if there is nothing wrong, the browser will open.Only problem that, When I make change in wepack.config file, nodemon will restart server and another browser window will open. Why would I want a second browser window? Is there way to let this plugin know that there is already one browser window opened, no need to open another one?