This is a migrated thread and some comments may be shown as answers.

How to stop the extension from livesyncing the app in simulator on each save?

1 Answer 27 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jonas
Top achievements
Rank 1
Jonas asked on 16 Oct 2014, 02:02 PM
Livesync is awesome, but when I change something in a file that is not deployed I don't want it to perform the sync. For example when I edit a typescript file, I don't want it to sync until the compiled js has changed (which can take a few seconds). So therefore I like to disable the livesync trigger for my typescript files. 

I tried by setting Build Action to None. And Publish to False for the files. But it still syncs on save. Also - I don't understand what the "Publish" ("if the file should be included in publish") option is supposed to do. All files seem to have that one set to false, and yet, obviously they get published.

Thanks

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 21 Oct 2014, 02:17 PM
Hi Jonas,

Thank you for the valuable feedback. We managed to reproduce this on our side and it seems like the LiveSync option synchronizes everything upon change detected in the typescript files. This is more like a bug or an enhancement that needs to be fixed/done for the LiveSync feature. I have logged it in order to be implemented for future releases.

Unfortunately, at this stage there isn't any solution or workaround to the issue, for which I apologize.

Further, AppBuilder projects are configured to take into consideration upon build, only items with build action set to Content or Resource. About the Publish field, its value is not considered upon cloud builds and thus, it is expected for items with value set to True to be included in the built applications.

I hope this helps.

P.S. For reporting this, I have updated your Telerik points.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
AppBuilder extension for Visual Studio
Asked by
Jonas
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or