I am using ionic 3, (exact versions bellow)
I am having huge issues with compile / builds inconsistency:
Reproduce:
@ionic/cli-utils : 1.13.0
ionic (Ionic CLI) : 3.13.0
cordova (Cordova CLI) : 7.0.1
@ionic/app-scripts : 3.0.0
Cordova Platforms : ios 4.4.0
Ionic Framework : ionic-angular 3.6.1
ios-deploy : 1.9.2
Node : v8.2.1
npm : 5.4.2
OS : macOS Sierra
Xcode : Xcode 9.0 Build version 9A235
maybe a hint to the source of the problem, no-matter what changes i have made to a service file named: message.service.ts it hasn't compiled a .js file.
Just after making a random change, to a component file, message.component.ts (which includes the message.service.ts file), it triggered compiling of the message.service.ts file, and created message.service.js file
Same problem here with devDependencies (from package.json) containing:
"ionic/app-scripts": "^3.0.0"
The command "ionic-app-scripts serve" does not seem to reload the changed .ts files on save.
The only way around it so far is to manually kill and relaunch "ionic serve" command.
OS: Ubuntu 16.04.3 LTS (xenial)
Browsers tried :
- Firefox 56.0 (64-bit)
- Google Chrome Version 61.0.3163.100 (Official Build) (64-bit)
This problem clearly seemed to appear with the "3.0.0" version of ionic/app-scripts. Proof being that replacing "^3.0.0" by "2.1.3" seemed to get rid of the problem for now.
Question is : is this wanted ? It looks like a regression to me
Most helpful comment
Same problem here with devDependencies (from package.json) containing:
"ionic/app-scripts": "^3.0.0"
The command "ionic-app-scripts serve" does not seem to reload the changed .ts files on save.
The only way around it so far is to manually kill and relaunch "ionic serve" command.
OS: Ubuntu 16.04.3 LTS (xenial)
Browsers tried :
- Firefox 56.0 (64-bit)
- Google Chrome Version 61.0.3163.100 (Official Build) (64-bit)
This problem clearly seemed to appear with the "3.0.0" version of ionic/app-scripts. Proof being that replacing "^3.0.0" by "2.1.3" seemed to get rid of the problem for now.
Question is : is this wanted ? It looks like a regression to me