diff --git a/src/Vegasco-Web/.vscode/tasks.json b/src/Vegasco-Web/.vscode/tasks.json index a298b5b..ef8c754 100644 --- a/src/Vegasco-Web/.vscode/tasks.json +++ b/src/Vegasco-Web/.vscode/tasks.json @@ -5,6 +5,13 @@ { "type": "npm", "script": "start", + "options": { + "env": { + "PORT": "4200", + "services__Vegasco-Server-Api__https__0": "https://localhost:7098", + "NODE_ENV": "development" + } + }, "isBackground": true, "problemMatcher": { "owner": "typescript", diff --git a/src/Vegasco-Web/package.json b/src/Vegasco-Web/package.json index c83237b..5da04c3 100644 --- a/src/Vegasco-Web/package.json +++ b/src/Vegasco-Web/package.json @@ -4,8 +4,8 @@ "scripts": { "ng": "ng", "start": "run-script-os", - "start:win32": "ng serve --port %PORT%", - "start:default": "ng serve --port $PORT", + "start:win32": "ng serve --port %PORT% --configuration development", + "start:default": "ng serve --port $PORT --configuration development", "build": "ng build", "watch": "ng build --watch --configuration development", "test": "ng test"