Fix style building package scripts; add style watching gulp task.

This commit is contained in:
Dannon Baker
2018-03-14 13:46:59 -04:00
parent f9e4e0bc18
commit 6cf50ecec1
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -112,4 +112,8 @@ gulp.task("watch", function() {
gulp.watch(paths.scripts, ["scripts"]);
});
gulp.task("watch-style", function() {
gulp.watch(paths.style, ["style"]);
});
gulp.task("default", ["scripts", "libs"]);
+2 -2
View File
@@ -43,8 +43,8 @@
"webpack-watch": "webpack -d --watch",
"webpack-production": "webpack -p",
"webpack-production-maps": "GXY_BUILD_SOURCEMAPS=1 webpack -p",
"style": "grunt style",
"style-watch": "grunt watch-style",
"style": "grunt && gulp style",
"style-watch": "grunt && gulp watch-style",
"test": "GALAXY_TEST_AS_SINGLE_PACK=true karma start --verbose --single-run --browsers PhantomJS karma.config.js",
"test-watch": "GALAXY_TEST_AS_SINGLE_PACK=true karma start --verbose --browsers PhantomJS karma.config.js",
"gulp": "gulp",