I am using grunt. Under watch task I have livereload set to true. Whenever I make a change it automatically refreshes my browser at current URL. Is there anyway to force it to refresh it to home page instead of current url?
Asked
Active
Viewed 424 times
1 Answers
0
If you roll your own livereloading in your gruntfile as described here, you can then trigger a reload of the homepage like this:
lrserver.changed({body:{files:['index.html']}});

Claus Conrad
- 512
- 7
- 14