You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Watch detects changes and restarts express server.... but the browser never refreshes to see those changes.
Usually you have to inject livereload client into the html pages for this to work. However, I've not been able to find any details on how to do this with this module.
So the docs really read with no mention of livereload.js or the need for a browser plugin, so I'm still thinking there is a way to do this without.
However, I got it to work simply by adding the following to the html.
<script>
// LiveReload Updates: Need to find a way to remove this for production
document.write('<scriptsrc="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></'
+ 'script>')
</script>
Please let me know if this is required or if there is a better way.
Watch detects changes and restarts express server.... but the browser never refreshes to see those changes.
Usually you have to inject livereload client into the html pages for this to work. However, I've not been able to find any details on how to do this with this module.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: