diff --git a/deployment_scripts/deploy_linux.sh b/deployment_scripts/deploy_linux.sh index 930067bde..9f12cc43a 100755 --- a/deployment_scripts/deploy_linux.sh +++ b/deployment_scripts/deploy_linux.sh @@ -205,7 +205,7 @@ pushd "$ISLAND_PATH/cc/ui" || handle_error npm ci log_message "Generating front end" -npm run dist +npm run dev popd || handle_error # Making dir for binaries diff --git a/deployment_scripts/deploy_windows.ps1 b/deployment_scripts/deploy_windows.ps1 index f5d313322..1260dfafb 100644 --- a/deployment_scripts/deploy_windows.ps1 +++ b/deployment_scripts/deploy_windows.ps1 @@ -240,7 +240,7 @@ function Deploy-Windows([String] $monkey_home = (Get-Item -Path ".\").FullName, "Updating npm" Push-Location -Path (Join-Path -Path $monkey_home -ChildPath $MONKEY_ISLAND_DIR | Join-Path -ChildPath "\cc\ui") & npm update - & npm run dist + & npm run dev Pop-Location # Create infection_monkey/bin directory if not already present