From 85782a26e213e5694bca9aa3ae228ef715cdb075 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 20 Feb 2018 17:59:24 +0100 Subject: [PATCH] 'npm run dev' now watches for scss updates | 'npm run build' only builds everything --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 2fbdcf3..5f8608e 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,10 @@ "build:clean": "rm ./public_html/js/bundle/*.js*; exit 0", "build:bundle": "cross-env NODE_ENV=production webpack --progress --hide-modules", "build:dev": "cross-env NODE_ENV=development webpack --progress --hide-modules", - "build:scss": "node-sass -r --output-style compressed --output ./public_html/css ./webpack/scss", - "dev": "npm run build:clean; npm run build:dev; npm run build:scss", - "build": "npm run build:clean; npm run build:bundle; npm run build:scss" + "scss": "node-sass -r --output-style compressed --output ./public_html/css ./webpack/scss", + "watch": "node-sass -w -r --output-style compressed --output ./public_html/css ./webpack/scss", + "dev": "npm run build:clean; npm run build:dev; npm run watch", + "build": "npm run build:clean; npm run build:bundle; npm run scss" }, "dependencies": { "vue": "^2.5.9"