hugolib: Fix live-reload regression for add/removal of dirs
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 7 Jun 2017 20:11:15 +0000 (22:11 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 7 Jun 2017 20:11:15 +0000 (22:11 +0200)
commit49a104309d53af243b32443a59bdc2a6fc9beeef
tree3e94baabc1ec63078cea0884c9c19ccec62ae330
parent5be0448635fdf5fe6b1ee673e869f2b9baf1a5c6
hugolib: Fix live-reload regression for add/removal of dirs

This reverts commit b5b6e81c0269abf9b0f4bc6a127744a25344e5c6.

That change breaks watching of new directories (new dirs, deleted dirs).

Reopens #3325
Fixes #3569
hugolib/site.go
source/filesystem.go