1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-02-15 07:25:54 +00:00

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

3
script/serve-config.json Normal file
View File

@@ -0,0 +1,3 @@
{
"cleanUrls": false
}