From 7f7ab7b7523872d112ff5e0c39be5386ab9b62e5 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sun, 31 Oct 2021 19:03:22 +0100 Subject: [PATCH] Add some things to mitigate windows/wsl suckiness --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 34079eb..3011f9b 100644 --- a/package.json +++ b/package.json @@ -16,11 +16,13 @@ "build-zip": "node scripts/build-zip.js", "build:dev": "webpack --hide-modules", "dev": "cross-env NODE_ENV=development CHANNEL=dev concurrently \"cross-env BROWSER=firefox npm run build:dev -- --watch\" \"cross-env BROWSER=chrome npm run build:dev -- --watch\" \"cross-env BROWSER=edge npm run build:dev -- --watch\"", + "dev:windows": "cross-env NODE_ENV=development CHANNEL=dev concurrently \"cross-env BROWSER=firefox npm run build:dev -- -w --watch-poll\" \"cross-env BROWSER=chrome npm run build:dev -- -w --watch-poll\" \"cross-env BROWSER=edge npm run build:dev -- -w --watch-poll\"", "dev-ff": "cross-env NODE_ENV=development CHANNEL=dev BROWSER=firefox npm run build:dev -- --watch", "dev-chrome": "cross-env NODE_ENV=development CHANNEL=dev BROWSER=chrome npm run build:dev -- --watch", "dev-edge": "cross-env NODE_ENV=development CHANNEL=dev BROWSER=edge npm run build:dev -- --watch", "pre-build": "rm -rf ./dist-ff; rm -rf ./dist-chrome; rm -rf ./node_modules; npm ci", - "start": "npm run dev" + "start": "npm run dev", + "start:windows": "npm run dev:windows" }, "dependencies": { "@babel/plugin-proposal-class-properties": "^7.12.1",