Created
February 27, 2015 09:40
-
-
Save scythargon/370c6ed340a08d02bc12 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
$(cd pages && python -m SimpleHTTPServer ) & | |
while true; do | |
change=$(inotifywait -r -e close_write,moved_to,create templates/*) | |
change=${change#./templates/* } | |
(./render_test_airline.py && echo -e "\033[1;32mtemplate recompiled\033[0m") || echo -e "\033[1;31merror!\033[0m" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment