I've created node folder and install the node server which is working just fine I want to add to it some simple html file or js file and run it, what is the simplest way to do it ?
Thanks!
Either get nodemon through npm, and then in your terminal run nodemon [your file here]
or you can use node [your file here]
.
Nodemon is nice because it will restart your server when you change the files within it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.