From eaaad0ff005e1621725eca70b43d20cbe94091d2 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 1 Nov 2018 13:23:54 +0100 Subject: [PATCH] scripts: fix css watch --- package.json | 2 +- scripts/build-css.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index baacb441..981a8946 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "build-server-js": "node scripts/build-server.js", "watch-client": "npm run build-client-js -- --watch", "watch-browser": "npm run build-client-js -- --watch", - "watch-css": "nodemon --watch src/scss -e scss -x \"npm run build-css -- --reload", + "watch-css": "nodemon --watch src/scss -e scss -x \"npm run build-css -- --reload\"", "deploy-docs": "node scripts/build-widgets-reference.js > resources/docs/widgets-reference.md && cd resources && mkdocs gh-deploy --clean && rm -rf site", "test": "eslint src && npm run build && node tests/test.js" }, diff --git a/scripts/build-css.js b/scripts/build-css.js index 8664a8bc..c2fe2d57 100644 --- a/scripts/build-css.js +++ b/scripts/build-css.js @@ -31,7 +31,7 @@ fs.writeFileSync(outdir + '/open-stage-control.css.map', result.map) if (process.argv.includes('--reload')) { - var WS = require('../app/node_modules/ws') + var WS = require('../node_modules/ws') var ipc = new WS('ws://127.0.0.1:8080/dev')