diff --git a/lms/envs/common.py b/lms/envs/common.py index 83a4bd4181..8b41470f92 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -457,6 +457,7 @@ if os.path.isdir(DATA_DIR): js_timestamp = os.stat(js_dir / new_filename).st_mtime if coffee_timestamp <= js_timestamp: continue + os.system("rm %s" % (js_dir / new_filename)) os.system("coffee -c %s" % (js_dir / filename)) PIPELINE_COMPILERS = [