forked from github/pelican
There was an issue with static path watchers, where they were watching wrong paths. They need to be prefixed with the 'content' path. So, they were not working at all. It was also possible to overwrite default watchers like 'content', 'settings' and 'theme' by mistake if any of them were present in `STATIC_PATHS`. This is fixed by adding a prefix to static watchers. And static watchers were "too static", meaning, they stayed the same even if `STATIC_PATHS` was changed in the settings during autoreload. Now static watchers reflect those changes (i.e. new paths are added to watch list, and removed ones are no longer watched). |
||
|---|---|---|
| .. | ||
| tests | ||
| themes | ||
| tools | ||
| __init__.py | ||
| contents.py | ||
| generators.py | ||
| log.py | ||
| paginator.py | ||
| readers.py | ||
| rstdirectives.py | ||
| server.py | ||
| settings.py | ||
| signals.py | ||
| urlwrappers.py | ||
| utils.py | ||
| writers.py | ||