-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
--removal-debounce
for "remove" FS events, with a higher default
This should fix one pain point of mine when writing docs, running `cargo watch -x doc` and running `penguin serve target/doc`. Cargo first wipes the output directory clean and seem to only then start building the docs. There is quite a bit of time between the wipe and writing all the new files. This used to make Penguin already reload the sessions, resulting in 404 pages. Now that "remove" events are treated as less important, this should be fixed. I think it's generally a valid assumption that a quick reload after only a deletion event is rarely the intended behavior.
- Loading branch information
1 parent
3104171
commit 385b639
Showing
2 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters