sahat / megaboilerplate

Handcrafted starter projects, optimized for simplicity and ease of use.
MIT License
3.83k stars 255 forks source link

npm run build every time? #197

Closed pruhstal closed 3 years ago

pruhstal commented 7 years ago

Is there a way to make webpack run build on a change so I don't have to manually run it and then re-start my server every time I make a change that requires a build?

jpgc commented 7 years ago

@pruhstal If I am not mistaken webpack has a watch mode that auto builds on file change.

https://webpack.github.io/docs/tutorials/getting-started/#watch-mode