Hi there, i decided to start our new project with ionic2. But there is something wrong with livereload.
After couple hours stackoverflow and ionic forum adventure, finally i’m here.
All solutions depending on gulp. But i cannot see a gulp file on project root.
i found watch.config.js file at myapp/node_modules/@ionic/app-scripts/config/watch.config.js
i believe it is watching only myapp/www folder. But all pages, scripts, ts files are in myapp/src folder. i cannot figure out how it might be. even official docs shows that src contents in www folder, but when i start a blank project it coming seperate.
i’m not good at gulp or watchers, actually i’m not a frontend developer either. just loved and publish a few apps with angular & ionic and personally needed to learn v2 of both.
I just wanted to reply that I’m experiencing the same issue. Similarly, I’m also new to Angular 2, Ionic and Gulp.
For me I noticed if I manually change something temporarily in the /www directory live reload will show the changes but editing and saving files in /src doesn’t appear to trigger live reloading. I assume it’s supposed to transpile part of /www automatically after files in /src are edited? In case it helps anyone solve the issue here’s my ionic info (I’ve tried both Windows/OSX and both Node 4.x/6.x versions):
Hello again, sorry for the double post but I resolved my own problem. For me the issue was I was building within a directory that had a folder name with special characters like: Dropbox (Personal)
Moving to a simpler path fixed livereloading for me. Hope this helps others.