I'd like to replicate what sencha app watch
is doing in a custom executable to get more control over the whole process... Watching the file system seems pretty straight forward, but what is it with the rebuild
that app watch is allegedly doing?
In the documentation it just says (I quote):
This command watches the current application’s source code for changes and and rebuild the necessary outputs to support “dev mode”.
So what exactly does "rebuild" mean? When I manually run sencha app build
it takes like forever to finish, while sencha app watch
is doing it quite a bit faster... So I doubt that this is what it actually does.
A rebuild
command per se doesn't exist either...