Commit 869e638e by Arjun Singh

Removing compiled js files in data directories before recompiling them; this…

Removing compiled js files in data directories before recompiling them; this causes compilation errors to fail loudly.
parent 833e7777
......@@ -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 = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment