Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

livereload

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

livereload - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

2

lib/command.js

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.12.4
// Generated by CoffeeScript 1.12.7
(function() {

@@ -3,0 +3,0 @@ var runner;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.12.4
// Generated by CoffeeScript 1.12.7
(function() {

@@ -232,3 +232,3 @@ var EventEmitter, Server, chokidar, defaultExclusions, defaultExts, defaultPort, fs, http, https, path, protocol_version, url, ws,

});
return res.end(fs.readFileSync(__dirname + '/../node_modules/livereload-js/dist/livereload.js'));
return res.end(fs.readFileSync(require.resolve('livereload-js')));
}

@@ -235,0 +235,0 @@ };

{
"name": "livereload",
"description": "LiveReload server",
"version": "0.9.0",
"version": "0.9.1",
"contributors": [

@@ -11,8 +11,3 @@ {

],
"licenses": [
{
"type": "MIT",
"url": "https://github.com/napcs/node-livereload/blob/master/LICENSE"
}
],
"license": "MIT",
"repository": {

@@ -33,3 +28,3 @@ "type": "git",

"devDependencies": {
"coffee-script": ">= 1.12",
"coffee-script": "^1.12",
"mocha": "^5.2.0",

@@ -44,4 +39,5 @@ "request": ">= 2.9.203",

"scripts": {
"test": "cake build && (rm test/tmp*.js; mocha)"
"build": "node node_modules/coffee-script/bin/coffee -c lib",
"test": "npm run build && (rm test/tmp*.js; mocha 'test/**/*.coffee')"
}
}

@@ -53,5 +53,5 @@ node-livereload

* `-ee` or `--extraExts` to include additional extentions that you want to observe. Example: ` -ee 'jade,scss'`.
* `-x` or `--exclusions` to specify additional exclusion patterns. Example: `-x html, images/`
* `-x` or `--exclusions` to specify additional exclusion patterns. Example: `-x html, images/`.
* `-u` or `--usepolling` to poll for file system changes. Set this to true to successfully watch files over a network.
* `-w` or `--wait` to add a delay (in miliseconds) between when livereload detects a change to the filesystem and when it notifies the browser
* `-w` or `--wait` to add a delay (in miliseconds) between when livereload detects a change to the filesystem and when it notifies the browser.

@@ -112,3 +112,3 @@ Specify the path when using the options.

The `createServer()` method accepts two arguments.
The `createServer()` method accepts two arguments.

@@ -174,5 +174,27 @@ The first are some configuration options, passed as a JavaScript object:

# Developing livereload
This library is implemented in CoffeeScript 1.x. It may eventually be converted to JavaScript, but
because there are many projects that depend on this library, the conversion isn't a priority.
To build the distributable versions, run `npm run build`.
Run `npm test` to run the test suite.
# Contributing
Contributions welcome, but remember that this library is meant to be small and serve its intended purpose only. Before submitting a pull request, open a new issue to discuss your feature or bug. Please
check all open and closed issues.
When submitting code, please keep commits small, and do not modify the README file. Commit both the Coffee and JS files.
# Changelog
### 0.9.1
* Fix issue with livereload.js not resolving properly on some projects (caseywebdev)
* Update license to newer style to suppress "no license" messages.
* Update test scripts to handle compilers properly, suppressing the deprecation notice
* Deprecating the `cake` tasks for building the project.
### 0.9.0

@@ -182,3 +204,3 @@ * Serve Livereload client library from an NPM dependency instead of copying the code into the project - smhg

### 0.8.2
### 0.8.2
* Fix regression in 0.8.1 where broadcasting failed due to incompatibility between arrays and sets

@@ -198,3 +220,3 @@ * Add debug message when broadcasting to each socket

* BREAKING CHANGE: The `exts` and `e` options now **replace** the default extensions.
* Adds the `extraExts` and `ee` options to preserve the old behavior of adding extensions to watch.
* Adds the `extraExts` and `ee` options to preserve the old behavior of adding extensions to watch.
* You can now use `server.on 'error'` in your code to catch the "port in use" message gracefully. The CLI now handles this nicely as well.

@@ -218,3 +240,3 @@

### 0.6.0
* Implements LiveReload protocol v7 so browser plugins work again.
* Implements LiveReload protocol v7 so browser plugins work again.
* Removes support for protocol v6

@@ -221,0 +243,0 @@ * Introduces `noListen` option

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc