Improve develop and serve (#23990)

This commit is contained in:
Wendelin
2025-01-31 14:50:15 +01:00
committed by GitHub
parent 6197e3483b
commit dae991dc89
4 changed files with 310 additions and 24 deletions

View File

@@ -64,7 +64,7 @@ echo Core is used from ${coreUrl}
HASS_URL="$coreUrl" ./script/develop &
# serve the frontend
yarn dlx serve -l $frontendPort ./hass_frontend -s &
./node_modules/.bin/serve -p $frontendPort --single --no-port-switching --config ../script/serve-config.json ./hass_frontend &
# keep the script running while serving
wait