Some changes in tasks. Specially in listen serve command
This commit is contained in:
parent
1765c4d17e
commit
a9f7cc57b4
|
|
@ -8,7 +8,7 @@
|
||||||
"type": "chrome",
|
"type": "chrome",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"preLaunchTask": "npm: start",
|
"preLaunchTask": "npm: start",
|
||||||
"url": "http://localhost:4200/"
|
"url": "http://localhost:4201/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ng test",
|
"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": {
|
"serve": {
|
||||||
"builder": "@angular-devkit/build-angular:dev-server",
|
"builder": "@angular-devkit/build-angular:dev-server",
|
||||||
|
"options": {
|
||||||
|
"port": 4201,
|
||||||
|
"host": "0.0.0.0"
|
||||||
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
"buildTarget": "arti-angular-app:build:production"
|
"buildTarget": "arti-angular-app:build:production"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue