{"id":13774973,"url":"https://github.com/thgh/rollup-plugin-livereload","last_synced_at":"2025-10-09T22:46:16.945Z","repository":{"id":11292913,"uuid":"69102272","full_name":"thgh/rollup-plugin-livereload","owner":"thgh","description":"LiveReload your Rollup bundle!","archived":false,"fork":false,"pushed_at":"2024-04-04T01:13:27.000Z","size":216,"stargazers_count":160,"open_issues_count":7,"forks_count":44,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-09T22:46:15.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thgh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-24T12:56:43.000Z","updated_at":"2025-08-27T13:31:48.000Z","dependencies_parsed_at":"2024-06-18T12:31:43.524Z","dependency_job_id":"4fc15829-637d-427a-993f-41cf979dff6b","html_url":"https://github.com/thgh/rollup-plugin-livereload","commit_stats":{"total_commits":73,"total_committers":15,"mean_commits":4.866666666666666,"dds":"0.31506849315068497","last_synced_commit":"0f0b30c8cd1dbd6754e041dfcfd65ed8d5ae6d98"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/thgh/rollup-plugin-livereload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgh%2Frollup-plugin-livereload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgh%2Frollup-plugin-livereload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgh%2Frollup-plugin-livereload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgh%2Frollup-plugin-livereload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thgh","download_url":"https://codeload.github.com/thgh/rollup-plugin-livereload/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgh%2Frollup-plugin-livereload/sbom","scorecard":{"id":880664,"data":{"date":"2025-08-11","repo":{"name":"github.com/thgh/rollup-plugin-livereload","commit":"ea6b0d474de126f19b42f89d08a33566d8fc03de"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/pr.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":5,"reason":"Found 5/10 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/thgh/rollup-plugin-livereload/pr.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/thgh/rollup-plugin-livereload/pr.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"19 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-3mv9-4h5g-vhg3","Warn: Project is vulnerable to: GHSA-c24v-8rfc-w8vw","Warn: Project is vulnerable to: GHSA-8jhw-289h-jh2g","Warn: Project is vulnerable to: GHSA-64vr-g452-qvp3","Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T08:04:00.224Z","repository_id":11292913,"created_at":"2025-08-24T08:04:00.224Z","updated_at":"2025-08-24T08:04:00.224Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002114,"owners_count":26083307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T17:01:32.374Z","updated_at":"2025-10-09T22:46:16.897Z","avatar_url":"https://github.com/thgh.png","language":"TypeScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Output"],"readme":"# Rollup plugin LiveReload\n\n\u003ca href=\"LICENSE\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg\" alt=\"Software License\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/thgh/rollup-plugin-livereload/issues\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/issues/thgh/rollup-plugin-livereload.svg\" alt=\"Issues\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"http://standardjs.com/\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg\" alt=\"JavaScript Style Guide\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://npmjs.org/package/rollup-plugin-livereload\"\u003e\n  \u003cimg src=\"https://img.shields.io/npm/v/rollup-plugin-livereload.svg?style=flat-squar\" alt=\"NPM\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/thgh/rollup-plugin-livereload/releases\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/release/thgh/rollup-plugin-livereload.svg\" alt=\"Latest Version\" /\u003e\n\u003c/a\u003e\n\n## Installation\n\n```\nnpm install --save-dev rollup-plugin-livereload\n```\n\n## Usage\n\n```js\n// rollup.config.js\nimport livereload from 'rollup-plugin-livereload'\n\nexport default {\n  input: 'entry.js',\n  output: { file: 'bundle.js' },\n  plugins: [livereload()],\n}\n```\n\nTo make it a real dev-server, combine this plugin with [rollup-plugin-serve].\n\n```js\n// rollup.config.js\nimport serve from 'rollup-plugin-serve'\nimport livereload from 'rollup-plugin-livereload'\n\nexport default {\n  input: 'entry.js',\n  output: { file: 'bundle.js' },\n  plugins: [\n    serve(), // index.html should be in root of project\n    livereload(),\n  ],\n}\n```\n\n### Options\n\nBy default, it watches the current directory. If you also have css output, pass the folder to which the build files are written.\n\nThis plugin supports the following options:\n\n- `clientUrl`: provide an alternative URL to the `livereload.js` script/resource. This URL is always preferred over all other generated URLs.\n- `clientHostname`: alternative hostname used instead of `localhost` or the site's current host, where the bundle is fetched from. Use this option when you include your bundle from a different host.\n\nAll remaining options are passed to [`livereload.createServer()`][livereload].\n\nExample:\n\n```\nlivereload('dist')\n\n// --- OR ---\n\nlivereload({\n  watch: 'dist',\n  verbose: false, // Disable console output\n\n  // other livereload options\n  port: 12345,\n  delay: 300,\n  https: {\n      key: fs.readFileSync('keys/agent2-key.pem'),\n      cert: fs.readFileSync('keys/agent2-cert.pem')\n  }\n})\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nContributions and feedback are very welcome.\n\nTo get it running:\n\n1. Clone the project.\n2. `npm install`\n3. `npm run build`\n\n## Credits\n\n- [Thomas Ghysels](https://github.com/thgh)\n- [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n\n[link-author]: https://github.com/thgh\n[link-contributors]: ../../contributors\n[livereload]: https://www.npmjs.com/package/livereload\n[rollup-plugin-serve]: https://www.npmjs.com/package/rollup-plugin-serve\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthgh%2Frollup-plugin-livereload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthgh%2Frollup-plugin-livereload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthgh%2Frollup-plugin-livereload/lists"}