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 - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -