It new js should be at least 1 second newer than previous file to merge again

This commit is contained in:
ZeroNet 2016-08-10 12:45:48 +02:00
parent 1f4609d1a3
commit a38b6c9fb2
1 changed files with 1 additions and 1 deletions

View File

@ -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