From 64e1e5a244454e738257801f10bb1550a9add1eb Mon Sep 17 00:00:00 2001 From: EmanueleAlfano Date: Wed, 4 Feb 2026 15:35:47 +0100 Subject: [PATCH] feat: add debug build command and update documentation for frontend path changes --- dev.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dev.sh b/dev.sh index b062969..80e663e 100755 --- a/dev.sh +++ b/dev.sh @@ -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