Hi,
I was about to create a PR to add the ability to watch the directories in extra_syntaxes
for changes, and rebuild the site.
The diff is here: https://github.com/getzola/zola/compare/next...tatref:next?expand=1
I removed most of the logic in detect_change_kind
.
I moved the ChangeKind
in the watch_this
Vec, that now contains a tuple of path, ChangeKind, and WatchMode.
I remove the test can_detect_change_kind
, because I don’t think it’s relevant anymore
I couldn’t run the tests cmd::init::tests::strip_unc_required_test
and cmd::init::tests::strip_unc_test
, because they expect the user to be VssAdministrator
What do you think about it?