Commit 7f9108fa authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

FS monitoring: always use polling

parent cc481a98
......@@ -59,7 +59,7 @@ import re
import shutil
import stat
import subprocess
import fsmonitor
from fsmonitor.polling import FSMonitor
import vispa
import tempfile
from pwd import getpwall
......@@ -790,7 +790,7 @@ class WatchService(object):
self.subscribers = {}
self.watches = {}
self.lock = Lock()
self.monitor = fsmonitor.FSMonitor()
self.monitor = FSMonitor()
self.run = True
self.thread = Thread(target=self._worker)
self.thread.daemon = True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment