Reputation: 1788
In angular-cli 1.x there was an option --progress=false
for the ng e2e
-task. How can I achieve this now with angular-cli 6
?
Upvotes: 1
Views: 500
Reputation: 1788
I figured it out myself. In angular.json
you have to set the option "progress": false
in the projects/your-app/serve/options
-section.
{
"projects": {
"your-app": {
"architect": {
"build": {
...
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "your-app:build",
"progress": false
},
...
},
...
}
},
"your-app-e2e": {
"root": "e2e/",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "your-app:serve"
},
},
}
}
}
},
"defaultProject": "your-app"
}
Upvotes: 2