From 3b2c8d356af0e9867e092d17102087725d09e8f3 Mon Sep 17 00:00:00 2001 From: Leigh Morresi <275001+dgtlmoon@users.noreply.github.com> Date: Tue, 2 Feb 2021 23:07:19 +0100 Subject: [PATCH] Flag for immediate sync of index after adding new watch --- backend/store.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/store.py b/backend/store.py index d956410e..987a2fe1 100644 --- a/backend/store.py +++ b/backend/store.py @@ -144,6 +144,7 @@ class ChangeDetectionStore: }) self.data['watching'][new_uuid] = _blank + self.needs_write = True return new_uuid