hugolib, commands: Improve live-reload on directory structure changes
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 8 Jun 2017 18:00:05 +0000 (20:00 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 8 Jun 2017 18:14:28 +0000 (20:14 +0200)
commitfe901b81191860b60e6fcb29f8ebf87baef2ee79
treed2a3d58c28f826b602f81973fc0e7dbaec4c697b
parentb39689393ccb8434d9a57658a64b77568c718e99
hugolib, commands: Improve live-reload on directory structure changes

This issue is more visible now that we support nested sections.

This commit makes operations like pasting new content folders or deleting content folders during server watch just work.

Fixes #3570
commands/hugo.go
hugolib/page.go
hugolib/page_collections.go
hugolib/site.go