rldr-cli
v3.0.22
Published
reloads a webpage on changes
Downloads
26
Readme
rldr-cli
Run rldr as a command
step 1 add the rldr tag to your html
<script src="/rldr"></script>
run: rldr as a command
install rldr globally
npm -g i rldr-cli
and run it as a command
rldr
it will serve the current directory on port 8080 and trigger a refresh whenever
files under that directory change (using the watch
module to do so).
<script src="/rldr"></script>
is still required in any page that needs to refresh
Additional Notes
it uses express-longpoll
to send reload events back to the client