summaryrefslogtreecommitdiff
path: root/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli.py')
-rwxr-xr-xcli.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli.py b/cli.py
index 0c4a9d1..4bbeaa1 100755
--- a/cli.py
+++ b/cli.py
@@ -153,6 +153,7 @@ def _generate_reload(generator, input, output):
print('watch:', path)
observer.schedule(event_handler, path, recursive=True)
for entry in input:
+ entry = entry.dirname().expand().abspath()
print('watch:', entry)
observer.schedule(event_handler, entry, recursive=True)
path = Path(__file__).parent / 'qface'