Ionic Serve - LiveReload firing too soon (must wait for gulp to finish copying files)

Here’s the gist:

I want to use ionic serve command, that will kick off a copy and watch task from gulp
The watch task listen for changes in the src folder, and re-run the copy task on change
The copy task does just that, copies files from the src folder into the www one

The issue right now is that ionic watches for changes in www and trigger a reload as soon as the first file is copied over; reloading before all files get copied (thus not working properly for me)

Any ways around this/other approaches?

Thanks

1 Like