You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-6Lines changed: 28 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,9 +50,9 @@ The commandline options are
50
50
*`-d` or `--debug` to show debug messages when the browser reloads.
51
51
*`-e` or `--exts` to specify extentions that you want to observe. Example: ` -e 'jade,scss'`. Removes the default extensions.
52
52
*`-ee` or `--extraExts` to include additional extentions that you want to observe. Example: ` -ee 'jade,scss'`.
53
-
*`-x` or `--exclusions` to specify additional exclusion patterns. Example: `-x html, images/`
53
+
*`-x` or `--exclusions` to specify additional exclusion patterns. Example: `-x html, images/`.
54
54
*`-u` or `--usepolling` to poll for file system changes. Set this to true to successfully watch files over a network.
55
-
*`-w` or `--wait` to add a delay (in miliseconds) between when livereload detects a change to the filesystem and when it notifies the browser
55
+
*`-w` or `--wait` to add a delay (in miliseconds) between when livereload detects a change to the filesystem and when it notifies the browser.
56
56
57
57
Specify the path when using the options.
58
58
@@ -108,7 +108,7 @@ You can then start up the server which will listen on port `3000`.
108
108
109
109
### Server API
110
110
111
-
The `createServer()` method accepts two arguments.
111
+
The `createServer()` method accepts two arguments.
112
112
113
113
The first are some configuration options, passed as a JavaScript object:
114
114
@@ -169,14 +169,36 @@ Then run the server:
169
169
170
170
When `/User/Workspace/test/css/style.css` is modified, the stylesheet will be reloaded on the page.
171
171
172
+
# Developing livereload
173
+
174
+
This library is implemented in CoffeeScript 1.x. It may eventually be converted to JavaScript, but
175
+
because there are many projects that depend on this library, the conversion isn't a priority.
176
+
177
+
To build the distributable versions, run `npm run build`.
178
+
179
+
Run `npm test` to run the test suite.
180
+
181
+
# Contributing
182
+
183
+
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
184
+
check all open and closed issues.
185
+
186
+
When submitting code, please keep commits small, and do not modify the README file. Commit both the Coffee and JS files.
172
187
173
188
# Changelog
174
189
190
+
### 0.9.1
191
+
* Fix issue with livereload.js not resolving properly on some projects (caseywebdev)
192
+
* Update license to newer style to suppress "no license" messages.
193
+
* Update test scripts to handle compilers properly, suppressing the deprecation notice
194
+
* Deprecating the `cake` tasks for building the project.
195
+
196
+
175
197
### 0.9.0
176
198
* Serve Livereload client library from an NPM dependency instead of copying the code into the project - smhg
177
199
* Update Chokidar to 3.3.0 which improves performance and reduces CPU load.
178
200
179
-
### 0.8.2
201
+
### 0.8.2
180
202
* Fix regression in 0.8.1 where broadcasting failed due to incompatibility between arrays and sets
181
203
* Add debug message when broadcasting to each socket
182
204
* Add debug message for the `input` message from clients
@@ -191,7 +213,7 @@ When `/User/Workspace/test/css/style.css` is modified, the stylesheet will be re
191
213
### 0.7.0
192
214
* Updates bundled Livereload.js file to v2.3.0 to fix console error.
193
215
* BREAKING CHANGE: The `exts` and `e` options now **replace** the default extensions.
194
-
* Adds the `extraExts` and `ee` options to preserve the old behavior of adding extensions to watch.
216
+
* Adds the `extraExts` and `ee` options to preserve the old behavior of adding extensions to watch.
195
217
* 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.
196
218
197
219
### 0.6.3
@@ -210,7 +232,7 @@ When `/User/Workspace/test/css/style.css` is modified, the stylesheet will be re
210
232
* Fix default exclusions regex
211
233
212
234
### 0.6.0
213
-
* Implements LiveReload protocol v7 so browser plugins work again.
235
+
* Implements LiveReload protocol v7 so browser plugins work again.
214
236
* Removes support for protocol v6
215
237
* Introduces `noListen` option
216
238
* Introduces optional callback which will be invoked when the LiveReload server is listening
0 commit comments