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
Post a Comment