feat: add debug build command and update documentation for frontend path changes

This commit is contained in:
EmanueleAlfano
2026-02-04 15:35:47 +01:00
parent 8e8042c851
commit 64e1e5a244

14
dev.sh
View File

@@ -142,6 +142,20 @@ cmd_server() {
pipenv run python main.py "$@"
}
# Server completo in modalità DEBUG (build senza minificazione)
cmd_server_debug() {
check_prereqs
# Rebuild sempre in modalità debug
warn "Build DEBUG forzata (no minification, con sourcemap)..."
cmd_build_debug
# Avvia backend con frontend
info "Avvio server completo in modalità DEBUG..."
cd "$BACKEND_DIR"
pipenv run python main.py "$@"
}
# Solo backend
cmd_backend() {
check_prereqs