This entry describes the `livereload-server` package at version `0.2.3`, an extremely early and now effectively abandoned implementation of the LiveReload 3 web socket and HTTP server for Node.js. It targets Node.js versions `>= 0.6.0`, which are long past end-of-life and present significant security vulnerabilities and compatibility issues with modern JavaScript ecosystems. While its purpose was to provide real-time browser reloading during development upon file changes, this specific package version is not suitable for contemporary projects. Developers seeking LiveReload functionality in Node.js should instead use the more actively maintained `livereload` npm package (currently v0.10.x), which serves as its spiritual successor under the same LiveReload organization. This library is primarily of historical interest.
npm install livereload-serverVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to start the legacy LiveReload server. This code is illustrative of its use but is not recommended for modern development due to severe age-related issues.
Do not use this package. Migrate to the `livereload` npm package (v0.10.x) for Node.js-based LiveReload servers or use a modern alternative like `live-server` for static file serving with LiveReload functionality.
Discontinue use immediately. For secure and feature-rich LiveReload capabilities, use the `livereload` npm package or other maintained tools.
If you intend to use a LiveReload server in Node.js, install `npm install livereload` instead of `npm install livereload-server`. Consult the documentation for the `livereload` package for correct usage.
Ensure you have installed the correct package: `npm install livereload` for the modern server, or explicitly install this legacy package if absolutely necessary (not recommended). Double-check your `require()` path.
Verify that `livereload-server` is installed. If using a modern Node.js version, this package is likely incompatible; consider migrating to the `livereload` npm package which provides a `createServer` function as its primary API.
Change the port for the LiveReload server if the option is available (this legacy package may not support it robustly). For the modern `livereload` package, configure `createServer({ port: YOUR_NEW_PORT })`. Alternatively, ensure no other LiveReload or development servers are running.No dependency data recorded yet.