summaryrefslogtreecommitdiffstats
path: root/watcher
AgeCommit message (Collapse)Author
2023-03-12Run gofmt -s on source filesAndreas Deininger
2023-03-08watcher: use time.NewTicker to prevent leaksOleksandr Redko
Replace time.Tick with time.NewTicker.
2023-03-01Misc ioutil deprecation adjustmentsBjørn Erik Pedersen
To make the tests pass. * Replace io => os.ReadFile in magefile.go * Adjust failing image test vs fs.DirEntry * Adjust poller test See #10732
2023-03-01Replace deprecated ioutil with io and osOleksandr Redko
https://pkg.go.dev/io/ioutil is deprecated since Go 1.16.
2022-12-14Also consider wrapped errors when checking for file IsNotExist errorsBjørn Erik Pedersen
Fixes #10534
2021-07-04Add polling as a fallback to native filesystem events in server watchBjørn Erik Pedersen
Fixes #8720 Fixes #6849 Fixes #7930
2020-11-21watcher: Add file deleted by accidentBjørn Erik Pedersen
See #7972
2020-11-20docs: Regenerate docshelperBjørn Erik Pedersen
2017-08-03Add some missing doc commentsJorin Vogel
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.
2016-04-20Update import path of fsnotifyAnthony Fok
Rename "gopkg.in/fsnotify.v1" to "github.com/fsnotify/fsnotify" per upstream recommendation. See https://github.com/fsnotify/fsnotify/issues/108 for rationale.
2015-12-07Fix copyright headers in source filesBjørn Erik Pedersen
Still need to add some missing headers and an AUTHORS file. See #1646
2015-11-23Change the license to Apache 2.0Steve Francia
2015-03-10Switch from fsnotify.v0 to fsnotify.v1 API (watcher)Anthony Fok
Fixes #357 See also #761
2015-01-05use fsnotify 0.9.3Nathan Youngman
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.
2014-01-29gofmt all go codeTibor Vass
2013-12-28Added batching behavior for page building.Egon Elbre
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.