tidev / liveview

Titanium LiveTi (live preview of Titanium applications on device)
Other
7 stars 3 forks source link

[TIMOB-18597] Add support for selective compilation in Alloy project #114

Closed ewanharris closed 6 years ago

ewanharris commented 6 years ago

JIRA: https://jira.appcelerator.org/browse/TIMOB-18597 Only add Resources watcher when project is not Alloy based, this stops the app from being reloaded multiple times due to changes in the Resources dir which are irrelevant

jasonkneen commented 6 years ago

@ewanharris ok, the only issue I've found with this is that on iOS and Android, if you update app.tss, it's not reloaded -- however, if you then go to another file like index.tss and hit save without any changes, the app reloads and reloads app.tss!

jasonkneen commented 6 years ago

Another issue I've found -- if you change the theme in config.json then the theme isn't applied -- works fine without this.

ewanharris commented 6 years ago

@jasonkneen, thanks for trying this out! I'll check those out and add any special handling we might need here in liveview

jasonkneen commented 6 years ago

No probs -- looking forward to seeing these go live

garymathews commented 6 years ago

Merging so an FR for this and #113 can take place.