Fix npm run dev
This commit is contained in:
parent
302cb3f92e
commit
99ae9d3a9e
3 changed files with 6 additions and 4 deletions
|
@ -3,8 +3,10 @@
|
|||
set -eu
|
||||
|
||||
if [ ! -f "./client/dist/en-US/index.html" ]; then
|
||||
echo "client/dist/en-US/index.html does not exist, compile client files..."
|
||||
npm run build:client -- --light
|
||||
if [ -z ${1+x} ] || [ "$1" != "--skip-client" ]; then
|
||||
echo "client/dist/en-US/index.html does not exist, compile client files..."
|
||||
npm run build:client -- --light
|
||||
fi
|
||||
fi
|
||||
|
||||
# Copy locales
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue