Some changes in tasks. Specially in listen serve command

This commit is contained in:
Artur 2024-10-27 23:13:55 +01:00
parent 1765c4d17e
commit a9f7cc57b4
3 changed files with 26 additions and 1 deletions

2
.vscode/launch.json vendored
View File

@ -8,7 +8,7 @@
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: start",
"url": "http://localhost:4200/"
"url": "http://localhost:4201/"
},
{
"name": "ng test",

21
.vscode/tasks.json vendored
View File

@ -37,6 +37,27 @@
}
}
}
},
{
"type": "java (build)",
"paths": [
"${workspace}"
],
"isFullBuild": true,
"group": "build",
"problemMatcher": [],
"label": "java (build): Build Workspace",
"detail": "$(tools) Build all the Java projects in workspace."
},
{
"label": "Start Angular Server",
"type": "shell",
"command": "ng serve --port 4202 --host 0.0.0.0",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
}
]
}

View File

@ -61,6 +61,10 @@
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"port": 4201,
"host": "0.0.0.0"
},
"configurations": {
"production": {
"buildTarget": "arti-angular-app:build:production"