Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable livereload for current page without specifying the 'file' in livereload.reload([file])? #117

Open
calvinchankf opened this issue May 20, 2016 · 0 comments

Comments

@calvinchankf
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant