I used gulp-livereload on SPA, it worked fine. But when I try it in a multiple pages project(i use exprees router), I can't find a easy way to make it livereload.
e.g. When I am debugging on route http://localhost:xxxx/peter/, I have to manually set the reload path i.e. livereload.reload('/peter'), in order to make it livereload upon every css/js/ejs changes.
is there any better way that the browser will automatically reload the current path when i am reaching?
Hi,
I used gulp-livereload on SPA, it worked fine. But when I try it in a multiple pages project(i use exprees router), I can't find a easy way to make it livereload.
e.g. When I am debugging on route http://localhost:xxxx/peter/, I have to manually set the reload path i.e. livereload.reload('/peter'), in order to make it livereload upon every css/js/ejs changes.
is there any better way that the browser will automatically reload the current path when i am reaching?