Closed aknrdureegaesr closed 9 months ago
Sorry - this PR wasn't up to the standards I usually demand of myself 😔. Thanks for the suggestions!
I somewhat changed the help text. The way it is now, the second sentence is actually a sentence, and still shorter.
I think this can be merged now.
Don’t worry about it, not all code one writes is perfect, but that’s what the code review is for :)
PS. you don’t need to squash things yourself, we now have a policy that mandates squashes on the GitHub side (your branch can be a complete mess full of merges and test commits, but only one commit will land on master no matter what). Squashing manually makes it harder to track changes on GitHub, as there’s no way to get a diff between revisions of the PR.
Pull Request Checklist
Description
What did I do?
nikola-site
and another onenikola
side-by-side.nikola-site/stories
and replaced them with symbolic links linking tonikola/docs
.nikola-site
, I startednikola auto -b
.nikola/docs
.Expectation:
The
nikola auto
plugin does its thing and my change becomes visible in the browser.Actually seen:
The required rebuild is not triggered.
Investigation
This related to a rather ancient bug of
watchdog
. As I found out by playing around, the bug disappears if the polling functionality ofwatchdog
is used.What does this PR do?
Add a command line argument to
nikola auto
, namely--poll
. If not present, all is as it always has been. If present, the pollingwatchdog
observer is used and the rebuilds happen as they should.