I had originally thought to write an erlang app to fix this, but then I realized that I need something much simpler, a shell script will do:
This file contains 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 | |
COUNTER=0 | |
while [ $COUNTER -lt 10 ]; do | |
clear | |
coffee --compile --output js-out --watch . | |
done |
When in doubt have the computer do the boring and repetitive stuff!
No comments:
Post a Comment