Skip to content

Commit e4782d7

Browse files
HurSungYungithubnemo
authored andcommitted
update README.md
1 parent b70935d commit e4782d7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ the env var `GO111MODULE=on`, which enables you to develop outside of
3434
|`-include=…` | none | Include files whose last path component matches this glob pattern. You may have multiples of this flag.|
3535
|`-pattern=…` | (.+\\.go|.+\\.c)$ | A regular expression which matches the files to watch. The default watches *.go* and *.c* files.|
3636
| | | **file watch** |
37-
|`-polling=…` | false | Which method to detect file changes.
37+
|`-polling=…` | false | Use polling instead of FS notifications to detect changes. Default is false
38+
|`-polling-interval=…` | 100 | Milliseconds of interval between polling file changes when polling option is selected
3839
| | | **misc** |
3940
|`-color=_` | false | Colorize the output of the daemon's status messages. |
4041
|`-log-prefix=_` | true | Prefix all child process output with stdout/stderr labels and log timestamps. |

daemon.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ There are command line options.
4848
4949
FILE WATCH
5050
-polling - Use polling instead of FS notifications to detect changes. Default is false
51+
-polling-interval - Milliseconds of interval between polling file changes when polling option is selected
5152
5253
MISC
5354
-color - Enable colorized output

0 commit comments

Comments
 (0)