kopia lustrzana https://github.com/cirospaciari/socketify.py
tweak file size threshold
rodzic
6df027101b
commit
a1aba28046
|
@ -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:
|
||||||
|
|
Ładowanie…
Reference in New Issue