Are there any (dis)advantages in using webpack-dev-server over nodemon. Does anybody have real experience with it? I am used to nodemone
and I know it can be used in production too. Whereas webpack-dev-server
is suitable for dev only.
Nodemon is a deamon process whic looks only for file changes and restarts node application in case of change. If the any error occurs then it is not able to restart in such cases. Failure occurs
EADDRUSE Address is already in use.
//Nodemon fails to restart.
It is very basic and cannot bundle your modules and files used in the project.
Webpack is an advanced tool. It helps you to bundle all your dependencies and library files into one single file and also checks for syntax and other errors. It creates the file on the fly.
When using React, it is an indispensible tool since it allows hot module replacement. It also does the same for Angular 2.
If you require examples on How to use webpack, I can provide you with many examples.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With