Mercurial > libervia-web
comparison libervia/server/constants.py @ 1251:a1606e2a92eb
server: fixed watching a directory which is already watched:
Twisted file watched is not adding a callback to a watched path when there is already one,
but this can happens often in Libervia, as a whole site is recusively watched in dev mode,
and tasks may want to add other watchers.
To work around this, the new `_checkCallback` will recursively check that callback has
been indeed added to the requested path.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 29 Apr 2020 14:54:33 +0200 |
parents | 9b865f2604a9 |
children | 6d49fae517ba |
comparison
equal
deleted
inserted
replaced
1250:821b6ce57f99 | 1251:a1606e2a92eb |
---|