Hi everybody !
Ionic version:
[x] 4.6.0
Steps to reproduce:
ionic start myApp tabs --type=angular
Run ng serve and do some change in your code to genere a livereload
Other information:
The problem is not only on RC
Ionic info:
Ionic:
ionic (Ionic CLI) : 4.6.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.0-rc.0
@angular-devkit/build-angular : 0.10.7
@angular-devkit/schematics : 7.0.7
@angular/cli : 7.0.7
@ionic/angular-toolkit : 1.2.1
System:
NodeJS : v8.4.0 (/usr/local/bin/node)
npm : 5.3.0
OS : macOS High Sierra
Please update to Node.js 10, and try again
The docs state that you need the latest version of Node.js and npm
aw, maybe we can update more detail that developer should use node 10 ✌️
@abennouna After update to Node.js 10+, livereload is fastest (6sec), but still poor. How many seconds livereload took you?
Well I guess it depends on the machine and the project. I'm on a i5/8GB MBP and for this project, a simple template modification takes 7.5s:
[ng] ℹ 「wdm」: Compiling...
[ng]
[ng] Date: 2018-12-21T13:48:06.150Z - Hash: f30c6d43bc6045e42824 - Time: 7462ms
[ng] 172 unchanged chunks
[ng] ℹ 「wdm」: Compiled successfully.
However, a simple .scss change is a bit faster:
[ng] ℹ 「wdm」: Compiling...
[ng]
[ng] Date: 2018-12-21T13:50:31.532Z - Hash: f30c6d43bc6045e42824 - Time: 4670ms
[ng] 172 unchanged chunks
[ng] ℹ 「wdm」: Compiled successfully.
Thanks for the issue! ng serve is an Angular command and ionic serve runs it directly.
As of Ionic 4, Ionic no longer ships with custom Angular build tools. This means any build issues you experience should be considered Angular build issues and should be brought up with the Angular team.
I'm going to close this as I do not think it is an Ionic issue. Thanks!
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Most helpful comment
Please update to Node.js 10, and try again
The docs state that you need the latest version of Node.js and npm