rldr-cli
v3.0.22
Published
reloads a webpage on changes
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-cliand run it as a command
rldrit 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
