Update watch.sh

This commit is contained in:
Jeremy Kauffman 2016-04-10 16:25:26 -04:00
parent fa7fd4c589
commit 2447a15a73

View file

@ -6,10 +6,4 @@ mkdir -p dist/css
mkdir -p dist/js
sass --watch scss:dist/css --sourcemap=none &
if [ $1 != "jeremyisbadatnode" ]; then
babel --presets es2015,react --out-dir dist/js/ --watch js/
else
#yes I am dumb, but not a high prio fix - Jeremy
babel --presets /home/jeremy/local/lib/node_modules/babel-preset-es2015,/home/jeremy/local/lib/node_modules/babel-preset-react --out-dir dist/js/ --watch ~/code/lbry-web-ui/js/
fi
babel --presets es2015,react --out-dir dist/js/ --watch js/