Ionic 4 livereload gives error

The following command:

ionic cordova run ios --livereload --verbose – --buildFlag="-UseModernBuildSystem=0"

gives the following error:

ng has unexpectedly closed (exit code 0).

If i remove the --livereload it is working, but I need the livereload for smooth development.

My ionic info:

ionic (Ionic CLI) : 4.5.0
Ionic Framework : @ionic/angular 4.0.0-beta.17
@angular-devkit/build-angular : 0.11.0
@angular-devkit/schematics : 7.1.0
@angular/cli : 7.1.0
@ionic/angular-toolkit : not installed

Cordova:

cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.0.0, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.0.3, (and 15 other plugins)

System:

Android SDK Tools : 26.1.1
ios-deploy : 2.0.0
NodeJS : v8.11.3
npm : 6.5.0
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61

1 Like