tweak file size threshold

pull/182/head
Anthony Leung 2024-06-28 08:52:01 +00:00
rodzic 6df027101b
commit a1aba28046
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -375,7 +375,7 @@ def _execute(args):
""" Get files and their modified time and compare with previous times. """ Get files and their modified time and compare with previous times.
Restart the server if it has changed """ Restart the server if it has changed """
new_files = get_files() new_files = get_files()
if len(new_files) > 50: if len(new_files) > 180:
print(f"{len(new_files)} files being watched", new_files) print(f"{len(new_files)} files being watched", new_files)
if prev_files is not None and new_files != prev_files: if prev_files is not None and new_files != prev_files: