mirror of
https://github.com/HelloZeroNet/ZeroNet.git
synced 2023-12-14 04:33:03 +01:00
It new js should be at least 1 second newer than previous file to merge again
This commit is contained in:
parent
1f4609d1a3
commit
a38b6c9fb2
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ def merge(merged_path):
|
|||
|
||||
changed = {}
|
||||
for file_path in findfiles(merge_dir, find_ext):
|
||||
if os.path.getmtime(file_path) > merged_mtime:
|
||||
if os.path.getmtime(file_path) > merged_mtime + 1:
|
||||
changed[file_path] = True
|
||||
if not changed:
|
||||
return # Assets not changed, nothing to do
|
||||
|
|
Loading…
Reference in a new issue