Nodemon is good for it https://github.com/remy/nodemon In addition, if you want nodemon to restart your application only if certain files have been modified, it is important to have a .nodemonignore file in which you can specify which files should be ignore nodemon. Example .nodemonignore file:
/ public / * # ignore all public resources
/.* # any hidden (dot) files
*. md # markup files
*. css # CSS Files
.build / * # Create a folder
/Journal/*
source share