Bjørn Erik Pedersen
24ce98b6d1
Add polling as a fallback to native filesystem events in server watch
...
Fixes #8720
Fixes #6849
Fixes #7930
2021-07-04 16:12:28 +02:00
Bjørn Erik Pedersen
18c13adcd4
watcher: Add file deleted by accident
...
See #7972
2020-11-21 17:21:14 +01:00
Bjørn Erik Pedersen
caf16c2085
docs: Regenerate docshelper
2020-11-20 09:32:16 +01:00
Jorin Vogel
81c13171a9
Add some missing doc comments
...
As pointed out by the linter, some exported functions and types are
missing doc comments.
The linter warnings have been reduced from 194 to 116.
Not all missing comments have been added in this commit though.
2017-08-03 15:57:51 +02:00
Anthony Fok
9ddf52021b
Update import path of fsnotify
...
Rename "gopkg.in/fsnotify.v1" to "github.com/fsnotify/fsnotify"
per upstream recommendation.
See https://github.com/fsnotify/fsnotify/issues/108 for rationale.
2016-04-20 22:28:26 +08:00
Bjørn Erik Pedersen
e445c35d6a
Fix copyright headers in source files
...
Still need to add some missing headers and an AUTHORS file.
See #1646
2015-12-07 19:57:01 +01:00
Steve Francia
f045d7a611
Change the license to Apache 2.0
2015-11-23 22:16:36 -05:00
Anthony Fok
81695717e6
Switch from fsnotify.v0 to fsnotify.v1 API (watcher)
...
Fixes #357
See also #761
2015-03-10 09:59:55 -06:00
Nathan Youngman
d376314763
use fsnotify 0.9.3
...
This contains a few fixes (v0.9.1 through v0.9.3) but the same API and few internal changes.
https://github.com/go-fsnotify/fsnotify/blob/master/CHANGELOG.md#v093--2014-12-31
A good first step before switching to v1.
2015-01-05 18:31:51 +01:00
Tibor Vass
6dd2e9a49a
gofmt all go code
2014-01-29 18:03:35 -05:00
Egon Elbre
8d80f9b39e
Added batching behavior for page building.
...
Quite often file watcher gets many changes and each change triggered a
build. One build per second should be sufficient. Also added tracking for
new folders.
2013-12-28 13:46:52 -05:00