Gathering detailed insights and metrics for rollup-plugin-livereload-client
Gathering detailed insights and metrics for rollup-plugin-livereload-client
Gathering detailed insights and metrics for rollup-plugin-livereload-client
Gathering detailed insights and metrics for rollup-plugin-livereload-client
A Rollup plugin which injects the livereload client into index.html for use during development
npm install rollup-plugin-livereload-client
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
4 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Oct 01, 2020
Latest Version
0.0.2
Package Id
rollup-plugin-livereload-client@0.0.2
Unpacked Size
11.22 kB
Size
3.59 kB
File Count
8
NPM Version
6.14.8
Node Version
14.11.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
6
🍣 A Rollup plugin which adds the LiveReload client for use during development
npm install --save-dev rollup-plugin-livereload-client
This plugin is meant to be used with plugins that output html, like @rollup/plugin-html.
1// rollup.config.js 2import html from "@rollup/plugin-html"; 3import livereloadClient from "rollup-plugin-livereload-client"; 4 5const development = process.env.ROLLUP_WATCH; 6 7export default { 8 entry: "entry.js", 9 output: { 10 dir: "build", 11 }, 12 plugins: [html(), livereloadClient({ include: development })], 13};
index.html
will be modified to include a script tag to load livereload.js
. Which will also be copied into the build
directory.
include
Type: Boolean
Default: true
Specifies whether to include the client. When true
, livereload.js
is copied into the output.dir
and a <script>
tag to load livereload.js
is injected into index.html
. Set to false
in production so livereload
is not included in the build.
port
Type: Number
Default: 35729
Specifies the port number that the separate livereload server is running on.
Please see CHANGELOG for more information what has changed recently.
Contributions and feedback are very welcome.
To get it running:
npm install
npm run build
This plugin is similar to rollup-plugin-livereload by Thomas Ghysels. The main difference being, this is the client only. I needed this to integrate with the LiveReload server already running in Spring Boot.
The MIT License (MIT). Please see License File for more information.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
20 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More