Some changes in tasks. Specially in listen serve command
This commit is contained in:
parent
1765c4d17e
commit
a9f7cc57b4
|
|
@ -8,7 +8,7 @@
|
|||
"type": "chrome",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "npm: start",
|
||||
"url": "http://localhost:4200/"
|
||||
"url": "http://localhost:4201/"
|
||||
},
|
||||
{
|
||||
"name": "ng test",
|
||||
|
|
|
|||
|
|
@ -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": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue