Skip to content
Snippets Groups Projects
Commit 869e638e authored by Arjun Singh's avatar Arjun Singh
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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 = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment