Add polling as a fallback to native filesystem events in server watch
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 2 Jul 2021 07:54:03 +0000 (09:54 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 4 Jul 2021 14:12:28 +0000 (16:12 +0200)
commit24ce98b6d10b2088af61c15112f5c5ed915a0c35
tree88b4090f4997b1763a1d9a49bcfa4ba92500647e
parent0019d60f67b6c4dde085753641a917fcd0aa4c76
Add polling as a fallback to native filesystem events in server watch

Fixes #8720
Fixes #6849
Fixes #7930
commands/commands.go
commands/hugo.go
commands/server.go
watcher/batcher.go
watcher/filenotify/filenotify.go [new file with mode: 0644]
watcher/filenotify/fsnotify.go [new file with mode: 0644]
watcher/filenotify/poller.go [new file with mode: 0644]
watcher/filenotify/poller_test.go [new file with mode: 0644]