Skip to content

Commit bc4b786

Browse files
Update WSL compatibility
1 parent d38a700 commit bc4b786

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@
77
"build": "webpack",
88
"start": "webpack serve",
99
"nodemon": "nodemon server/server.js",
10-
"electron": "electron . --no-sandbox",
10+
"electron": "electron .",
11+
"electron:wsl": "electron . --no-sandbox",
1112
"test": "jest",
1213
"test:watch": "jest --watch",
1314
"test:electron": "jest --detectOpenHandles ./__tests__/electron/*",
1415
"test:app": "jest ./__tests__/app/*",
1516
"both": "npm run start & sleep 5 && npm run electron",
17+
"both:wsl": "npm run start & sleep 5 && npm run electron:wsl",
1618
"both:tsc": "nodemon --watch ./app & npm run start & sleep 5 && npm run electron",
1719
"both:dev": "npm run start & nodemon --watch ./electron --exec 'npm run electron'",
1820
"package-mac": "electron-packager . --overwrite --platform=darwin --arch=x64 --icon=assets/icons/mac/icon.icns --prune=true --out=release-builds",

0 commit comments

Comments
 (0)