Skip to content

Commit

Permalink
increase file watcher delay
Browse files Browse the repository at this point in the history
  • Loading branch information
canthefason committed Jun 26, 2016
1 parent 49ee12a commit eaba2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var ErrPathNotSet = errors.New("gopath not set")

var watchedFileExt = []string{".go", ".tmpl", ".tpl", ".html"}

var watchDelta = 500 * time.Millisecond
var watchDelta = 1000 * time.Millisecond

// Watcher watches the file change events from fsnotify and
// sends update messages. It is also used as a fsnotify.Watcher wrapper
Expand Down

0 comments on commit eaba2b4

Please sign in to comment.