2 # Continually regenerate these two files:
5 # As source/test files change.
7 # Clean background processes after quit
8 trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
10 mkdir
-p dist
# in case it doesn't exist; watchify needs it
15 -t
[ envify
--NODE_ENV development
] \
17 --standalone Dygraph \
24 -t
[ envify
--NODE_ENV development
] \
27 auto_tests
/tests
/*.js
&
29 # Wait until background processes end