mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix windows dev env
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
parent
ad0f18e6ca
commit
bfc91eb296
6
Makefile
6
Makefile
@ -20,8 +20,12 @@ compile-dev:
|
|||||||
yarn compile:renderer --cache
|
yarn compile:renderer --cache
|
||||||
|
|
||||||
dev:
|
dev:
|
||||||
|
ifeq "$(DETECTED_OS)" "Windows"
|
||||||
|
make init
|
||||||
|
else
|
||||||
test -f out/main.js || make init
|
test -f out/main.js || make init
|
||||||
yarn dev # run electron and watch files
|
endif
|
||||||
|
yarn dev
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
yarn lint
|
yarn lint
|
||||||
|
|||||||
@ -12,9 +12,9 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "concurrently -k \"yarn dev-run -C\" \"yarn dev:main\" \"yarn dev:renderer\"",
|
"dev": "concurrently -k \"yarn dev-run -C\" \"yarn dev:main\" \"yarn dev:renderer\"",
|
||||||
"dev-run": "nodemon --watch static/build/main.js --exec \"electron --inspect .\" $@",
|
"dev-run": "nodemon --watch static/build/main.js --exec \"electron --inspect .\"",
|
||||||
"dev:main": "env DEBUG=true yarn compile:main --watch $@",
|
"dev:main": "yarn compile:main --watch",
|
||||||
"dev:renderer": "env DEBUG=true yarn compile:renderer --watch $@",
|
"dev:renderer": "yarn compile:renderer --watch",
|
||||||
"compile": "env NODE_ENV=production concurrently yarn:compile:*",
|
"compile": "env NODE_ENV=production concurrently yarn:compile:*",
|
||||||
"compile:main": "webpack --config webpack.main.ts",
|
"compile:main": "webpack --config webpack.main.ts",
|
||||||
"compile:renderer": "webpack --config webpack.renderer.ts",
|
"compile:renderer": "webpack --config webpack.renderer.ts",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user