mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
99a18b21fc
Fixes part of issue 1030. Previously hugo only listed the content directory as being watched. Now we list all files being watched according to `commands.getDirList()`. We also introduce a RemoveSubpaths function and test in the helpers module to reduce noise in the command line output by not showing subdirectories of ones already being watched. For example, instead of: `Watching for changes in $HOME/blog/content` We get: `Watching for changes in $HOME/blog/{data,content,layouts,static,themes/my-theme}` |
||
---|---|---|
.. | ||
benchmark.go | ||
check.go | ||
convert.go | ||
hugo.go | ||
limit_darwin.go | ||
limit_others.go | ||
list.go | ||
list_config.go | ||
new.go | ||
server.go | ||
server_test.go | ||
version.go |