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

live-reload-html

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

live-reload-html

Live Reload html body and styles When a change is applied

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

Live Reload Html

Apply changes without reloading the page

Load source

<script src="https://unpkg.com/live-reload-html@1.0.2/live-reload-html.js"></script>

Usage

<script>

 var check_chenge_time = 2000;
 var check_url = ''; // current page url
 var originDebug = "http://localhost:8000"; // your localhost origin for test

 liveReload(check_chenge_time, check_url, originDebug);
</script>

OR

<script>
 liveReload(2000,'', "http://localhost:8000");
</script>

Attributes:

  • Apply body changes
  • Reload style files

Keywords

live-reload-html

FAQs

Package last updated on 24 May 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