Skip to content

Feature Live Reload

Brian Lamb edited this page Mar 12, 2024 · 2 revisions

This application features live reload. This has been revolutionary to me. I can never seem to get a good working auto refresh setup working. I have tried many. This one works almost flawlessly.

There is adjustment needed to the watch task so that when a user saves the first time, the page reliably refreshes. Sometimes it takes a 2nd save before the reload fires.

I cant seem to understand why someone would want to use this with a browser plugin. i couldnt get that to work either anyway, but i much prefer this setup, no plugins, any and all browsers simutaneously, vs only browsers that have working plugins.

The server that i found to get this task to work best was the gulp-live-server usage. The task is called gls. The related task is watch.