From 9353449515ff6881a54ce6887297b7eab2855186 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sat, 30 Apr 2016 11:17:50 +0200 Subject: Use scripty instead of writing shell commands in package.json --- scripts/watch/client/sass.sh | 7 +++++++ scripts/watch/client/tsc.sh | 5 +++++ 2 files changed, 12 insertions(+) create mode 100755 scripts/watch/client/sass.sh create mode 100755 scripts/watch/client/tsc.sh (limited to 'scripts/watch') diff --git a/scripts/watch/client/sass.sh b/scripts/watch/client/sass.sh new file mode 100755 index 000000000..7d716cb7c --- /dev/null +++ b/scripts/watch/client/sass.sh @@ -0,0 +1,7 @@ +#!/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 client/angular/**/ client/angular/**/**" \ + "node-sass -w angular/ --output angular/" diff --git a/scripts/watch/client/tsc.sh b/scripts/watch/client/tsc.sh new file mode 100755 index 000000000..f00656d2e --- /dev/null +++ b/scripts/watch/client/tsc.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +cd client || exit -1 + +npm run tsc:w -- cgit v1.2.3