I'm going through the Tour of Heroes tutorial on angular.io, and it appears that I need to restart the server in order to actually see my changes.
I created my project with @angular/cli@1.0.0-beta.32.3
My project's dependencies:
"dependencies": {
"@angular/common": "^2.4.0",
"@angular/compiler": "^2.4.0",
"@angular/core": "^2.4.0",
"@angular/forms": "^2.4.0",
"@angular/http": "^2.4.0",
"@angular/platform-browser": "^2.4.0",
"@angular/platform-browser-dynamic": "^2.4.0",
"@angular/router": "^3.4.0",
"core-js": "^2.4.1",
"rxjs": "^5.1.0",
"zone.js": "^0.7.6"
},
npm list | grep webpack
gives me:
│ ├─┬ @ngtools/webpack@1.2.10
│ ├─┬ extract-text-webpack-plugin@2.0.0
│ │ └── webpack-sources@0.1.4
│ ├─┬ html-webpack-plugin@2.28.0
│ ├─┬ karma-webpack@2.0.2
│ │ └── webpack-dev-middleware@1.10.1
│ ├─┬ webpack@2.2.1
│ ├─┬ webpack-dev-server@2.3.0
│ └── webpack-merge@2.6.1
I found this thread which suggests installing @ngtools/webpack@1.2.4
, and I tried that, but it only resulted in more errors.