New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rldr-cli

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rldr-cli

reloads a webpage on changes

latest
npmnpm
Version
3.0.22
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 06 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts