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

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

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -