Skip to content

Commit ab37207

Browse files
committed
Fix path parsing in CLI. Fixes #154
1 parent 64a5db7 commit ab37207

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@ When submitting code, please keep commits small, and do not modify the README fi
230230

231231
# Changelog
232232

233+
### 0.9.3
234+
* CLI: Fix multiple path parsing bug.
235+
233236
### 0.9.2
234237
* Server: Added `filesToReload` option to specify a list of filenames that should trigger the reload, rather than relying on extensions alone.
235238
* CLI: You can use the `-f` or `--filesToReload` option with the command line tool to specifiy filenames that should trigger a reload.

lib/command.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ runner = ->
9090

9191
opts.parse(options.reverse(), args, true)
9292

93-
path = opts.arg('path') || '.'
94-
path.split(/\s*,\s*/)
93+
path = (opts.arg('path') || '.')
94+
.split(/\s*,\s*/)
9595
.map((x)->resolve(x))
9696

9797
port = opts.get('port') || 35729

lib/command.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "livereload",
33
"description": "LiveReload server",
4-
"version": "0.9.2",
4+
"version": "0.9.3",
55
"contributors": [
66
{
77
"name": "Brian P. Hogan",

0 commit comments

Comments
 (0)