{"library":"connect-livereload","type":"library","category":null,"description":"connect-livereload is a Connect/Express middleware designed to inject the LiveReload script directly into HTML responses. This eliminates the need for a browser extension, simplifying the development workflow by automatically reloading the browser upon file changes detected by companion tools like `grunt-contrib-watch`. The current stable version is 0.6.1, which was published approximately 7 years ago (December 2018), indicating that the package is largely unmaintained. Its primary differentiation is the server-side injection, which contrasts with client-side browser extensions. It does not, however, serve the `livereload.js` script itself, requiring another module (e.g., a LiveReload server like `node-livereload`) to provide it. Configuration options allow for specifying the LiveReload server port, ignoring certain file types (e.g., `.js`, `.css`), or customizing the HTML detection and injection rules.","language":"javascript","status":"abandoned","version":"0.6.1","tags":["javascript","connect","livereload","live-reload"],"last_verified":"Wed May 27","install":[{"cmd":"npm install connect-livereload","imports":["const livereloadMiddleware = require('connect-livereload');","app.use(require('connect-livereload')({ port: 35729 }));","import * as livereload from 'connect-livereload';\n// Or for the factory function signature:\nimport connectLivereload = require('connect-livereload');"]},{"cmd":"yarn add connect-livereload","imports":[]},{"cmd":"pnpm add connect-livereload","imports":[]}],"homepage":null,"github":"https://github.com/intesso/connect-livereload","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/connect-livereload","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/connect-livereload/compatibility"}}