-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
help wantedneeds: investigationRequires some digging to determine if action is neededRequires some digging to determine if action is needed
Description
Versions
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
@angular/cli: 1.2.8 (e)
node: 8.8.1
os: linux x64
@angular/animations: 4.4.6
@angular/common: 4.4.6
@angular/compiler: 4.4.6
@angular/core: 4.4.6
@angular/forms: 4.4.6
@angular/http: 4.4.6
@angular/platform-browser: 4.4.6
@angular/platform-browser-dynamic: 4.4.6
@angular/router: 4.4.6
@angular/cli: 1.2.8
@angular/compiler-cli: 4.4.6
@angular/language-service: 4.4.6
Repro steps
- Create a new project with ng new
<projectname>
- Open
karma.conf.js
and changeautoWatch: true
toautoWatch: false
- Spawn the test server with
karma start
- Change
styleUrls: ['./app.component.css']
tostyleUrls: ['./app.comonent.css']
so the code is invalid and will trigger a webpack compilation error (typescript compile errors will have the same effect). - Karma server will now error, this is fine.
- In another terminal, in the same directory execute
karma run
Observed behavior
karma run
now hangs untill the error is resolved.
Desired behavior
karma run
should terminate with an error.
Mention any other details that might be useful (optional)
When configuring the project with the steps provided by the angular documentation this does not happen (https://angular.io/guide/webpack). This approach does not use the @Angular/cli so the problem seems to be in @Angular/cli
nicojs, sanderkoenders and simondel
Metadata
Metadata
Assignees
Labels
help wantedneeds: investigationRequires some digging to determine if action is neededRequires some digging to determine if action is needed