From fc76359be11956f8514fc0dda1f66bb1c3397d26 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 3 Jun 2016 22:34:39 +0200 Subject: Adapt npm scripts --- scripts/watch/client/livereload.sh | 2 +- scripts/watch/client/sass.sh | 7 ------- scripts/watch/client/tsc.sh | 5 ----- scripts/watch/client/webpack.sh | 5 +++++ 4 files changed, 6 insertions(+), 13 deletions(-) delete mode 100755 scripts/watch/client/sass.sh delete mode 100755 scripts/watch/client/tsc.sh create mode 100755 scripts/watch/client/webpack.sh (limited to 'scripts/watch') diff --git a/scripts/watch/client/livereload.sh b/scripts/watch/client/livereload.sh index 5f095265e..11d27754f 100755 --- a/scripts/watch/client/livereload.sh +++ b/scripts/watch/client/livereload.sh @@ -1,3 +1,3 @@ #!/usr/bin/env sh -livereload client/app -e scss +livereload client/dist diff --git a/scripts/watch/client/sass.sh b/scripts/watch/client/sass.sh deleted file mode 100755 index f7a8c8a2b..000000000 --- a/scripts/watch/client/sass.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env sh - -cd client || exit -1 - -concurrently \ - "node-sass -w --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css" \ - "node-sass -w app/ --output app/" diff --git a/scripts/watch/client/tsc.sh b/scripts/watch/client/tsc.sh deleted file mode 100755 index f00656d2e..000000000 --- a/scripts/watch/client/tsc.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env sh - -cd client || exit -1 - -npm run tsc:w diff --git a/scripts/watch/client/webpack.sh b/scripts/watch/client/webpack.sh new file mode 100755 index 000000000..3e4522547 --- /dev/null +++ b/scripts/watch/client/webpack.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +cd client || exit -1 + +npm run webpack -- --config config/webpack.dev.js --progress --profile --colors --display-error-details --display-cached --watch -- cgit v1.2.3