johnpapa / lite-server

Lightweight node server
MIT License
2.31k stars 267 forks source link

Copy html and css files on refresh #123

Open carneirocarlos opened 7 years ago

carneirocarlos commented 7 years ago

Is there a way to copy some html and css files to another folder every time the server refresh?

giovannyreyeso commented 7 years ago

hmm. i was try it and i can't do it.. i try with copyfiles npm package. but what are you trying?

zatchgordon commented 7 years ago

If the app is being build using Gulp, then the server refresh could be after the html and css files were moved.