LiveReload to Root on File Change

Livereload reloads the page I am currently on when I make changes to a file. I can understand why this may be preferable in some cases since the developer doesn’t have to navigate from root in order to see the changes. But, for instance, on a detail page, the navParam data is not available after reload, so my app errors with a lack of data.

I’d rather the app reload to root after a change in some situations, or I’d be fine with just “restarting” the app on livereload. Is there a livereload configuration where I can set this?

Did you every get an answer to this? I am running my app with “ionic serve” with the live reload feature. When I make code changes the live reload feature reloads the current page rather than reloading the entire app. I have to manually refresh the app. It’s very frustrating. I see that ionic serve executes a command the Angular CLI.

ng run app:serve --host=localhost --port=8100


Ionic CLI : 5.2.1 (/usr/local/Cellar/node/7.1.0/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.11.7
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.0.0