summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 68cef3e..3b75e3b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -54,6 +54,15 @@ int main(void)
{
watch->callback(Context::START);
}
+ for (auto& watch : ConfigPathWatches::get())
+ {
+ watch->start();
+ }
+
+ for (auto& watch : ConfigPathWatches::get())
+ {
+ watch->callback(Context::START);
+ }
Loop::run();
OpenPOWER on IntegriCloud