Nodemon: Enables the node service to be restarted without ending the program each time

Installation: NPM I -g Nodemon Use: Open the command line in the location of the program to be run. After the nodemon server.js file is saved, the Nodemon automatically restarts the nondemon serverCopy the code

Livereload: needs to be installed in chrome and vscode

Chrome: http://112.126.100.3/livereload/livereload_2_1_0_.rar to download and install, in a chrome extension program, as shown:

At this point, the center point of the plug-in is hollow, which means that the plug-in is not started. When clicked, it will become solid. As shown in the picture, the browser will prompt that the livereolad plug-in is not opened in vscode

After installing livereload in vscode, press CTRL +shift+p> search >livereload> once to launch.

Now click on the Chrome Livereload plugin to make the actual heart

There is one thing to note here: when nodemon restarts, the page is refreshed immediately, which may cause the browser to load the same page. Since the compilation process takes time, we can delay the refresh in vscode.

Find the livereload setting in vscode Settings and set the delay request to 200ms

Ps: No culture, the text is a little clumsy, please forgive me