Cambie cosas .w.

This commit is contained in:
2020-11-23 17:43:12 -03:00
parent b8ef0dec1b
commit a02d56d307
7 changed files with 73 additions and 50 deletions

View File

@@ -90,7 +90,7 @@ class WatchHandler(PatternMatchingEventHandler):
if __name__ == '__main__':
if len(sys.argv) > 1 and sys.argv[1] == '--watch':
observer = Observer()
observer.schedule(WatchHandler(), str(src_dir))
observer.schedule(WatchHandler(), str(src_dir), recursive=True)
observer.start()
try: