ensure folders exist
This commit is contained in:
parent
c8d425ada2
commit
7974c66515
1 changed files with 4 additions and 1 deletions
5
watch.sh
5
watch.sh
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
trap 'jobs -p | xargs kill' EXIT
|
trap 'jobs -p | xargs kill' EXIT
|
||||||
|
|
||||||
|
mkdir -p dist/css
|
||||||
|
mkdir -p dist/js
|
||||||
|
|
||||||
sass --watch scss:dist/css --sourcemap=none &
|
sass --watch scss:dist/css --sourcemap=none &
|
||||||
|
|
||||||
if [ $1 != "jeremyisbadatnode" ]; then
|
if [ $1 != "jeremyisbadatnode" ]; then
|
||||||
|
@ -9,4 +12,4 @@ if [ $1 != "jeremyisbadatnode" ]; then
|
||||||
else
|
else
|
||||||
#yes I am dumb, but not a high prio fix - Jeremy
|
#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-gui/js/
|
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-gui/js/
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue