commit
89128faf3f
2 changed files with 6 additions and 2 deletions
|
@ -82,10 +82,10 @@
|
|||
},
|
||||
"scripts": {
|
||||
"start": "cross-env PORT=3001 node scripts/start.js",
|
||||
"start:browser": "./bin/watch-browser",
|
||||
"start:browser": "cross-env ./bin/watch-browser",
|
||||
"watch": "cross-env PORT=3001 node scripts/start.js",
|
||||
"build": "cross-env INLINE_RUNTIME_CHUNK=false node scripts/build.js",
|
||||
"build:browser": "./bin/build-browser",
|
||||
"build:browser": "cross-env ./bin/build-browser",
|
||||
"lint": "eslint src"
|
||||
},
|
||||
"browserslist": [
|
||||
|
|
|
@ -22,6 +22,10 @@ if [ $NODE_ENV == 'development' ]; then
|
|||
# Make sure to do this before starting the build since watch mode
|
||||
# will block
|
||||
WEBPACK_ARGS="$WEBPACK_ARGS --watch"
|
||||
if [ "$OSTYPE" == "msys" ]; then
|
||||
# Ensure symlinks are created as native Windows symlinks.
|
||||
export MSYS=winsymlinks:nativestrict
|
||||
fi
|
||||
ln -snf "$ROOT"/../lib-dist/browser ../../desktop-client/public/kcab
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue