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: lib/command.coffee
+25-8Lines changed: 25 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -26,35 +26,42 @@ runner = ->
26
26
{
27
27
short:"p"
28
28
long:"port"
29
-
description:"Specify the port"
29
+
description:"Specify the port the server should listen on."
30
30
value:true
31
31
required:false
32
32
}
33
33
{
34
34
short:"x"
35
35
long:"exclusions"
36
-
description:"Exclude files by specifying an array of regular expressions. Will be appended to default value which is [/\.git\//, /\.svn\//, /\.hg\//]",
36
+
description:"Exclude files from being watched by specifying an array of regular expressions. Will be appended to default value which is [/\.git\//, /\.svn\//, /\.hg\//]",
37
37
required:false,
38
38
value:true
39
39
}
40
40
{
41
41
short:"d"
42
42
long:"debug"
43
-
description:"Additional debugging information",
43
+
description:"See helpful debugging information",
44
44
required:false,
45
45
callback:->debug=true
46
46
}
47
47
{
48
48
short:"e"
49
49
long:"exts",
50
-
description:"A comma-separated list of extensions you wish to watch. Replaces default extentions",
50
+
description:"A comma-separated list of extensions that should trigger a reload when changed. Replaces default extentions",
51
51
required:false,
52
52
value:true
53
53
}
54
54
{
55
55
short:"ee"
56
56
long:"extraExts",
57
-
description:"A comma-separated list of extensions you wish to watch in addition to the defaults (html, css, js, png, gif, jpg, php, php5, py, rb, erb, coffee). If used with --exts, this overrides --exts.",
57
+
description:"A comma-separated list of extensions that should trigger a reload when changed, in addition to the defaults (html, css, js, png, gif, jpg, php, php5, py, rb, erb, coffee). If used with --exts, this overrides --exts.",
58
+
required:false,
59
+
value:true
60
+
}
61
+
{
62
+
short:"f"
63
+
long:"filesToReload",
64
+
description:"A comma-separated list of filenames that should trigger a reload when changed.",
58
65
required:false,
59
66
value:true
60
67
}
@@ -68,10 +75,17 @@ runner = ->
68
75
{
69
76
short:"w"
70
77
long:"wait"
71
-
description:"delay message of file system changes to browser by `delay` milliseconds"
78
+
description:"Delay message of file system changes to browser by `delay` milliseconds"
72
79
required:false
73
80
value:true
74
81
}
82
+
{
83
+
short:"op"
84
+
long:"originalpath",
85
+
description:"Set a URL you use for development, e.g 'http:/domain.com', then LiveReload will proxy this url to local path."
0 commit comments