javascript - run simple html or js file in node -


i've created node folder , install node server working fine want add simple html file or js file , run it, simplest way ?

thanks!

either nodemon through npm, , in terminal run nodemon [your file here] or can use node [your file here].

nodemon nice because restart server when change files within it.


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

android - MPAndroidChart - How to add Annotations or images to the chart -