Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Livesync typescript #1105

Merged
merged 2 commits into from
Oct 26, 2015
Merged

Livesync typescript #1105

merged 2 commits into from
Oct 26, 2015

Conversation

hdeshev
Copy link
Contributor

@hdeshev hdeshev commented Oct 26, 2015

This one is mostly aimed at fixing the double app restart issue when livesyncing TypeScript projects. The first time you save a .ts file it gets synced to the device (completely unnecessarily), then you need another sync after you run your compiler.


Changes:

  • Exclude *.ts files. No need to livesync them.
  • Include the excluded files match fix from lib/common
  • Fix app_resources exclude mask too by using the proper `/app_resources/ form.

@@ -10,7 +10,8 @@ import Future = require("fibers/future");

export class UsbLiveSyncService extends usbLivesyncServiceBaseLib.UsbLiveSyncServiceBase implements IUsbLiveSyncService {
private excludedProjectDirsAndFiles = [
"app_resources"
"**/app_resources/**",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it is better to remove this rule entirely. We should let the users to sync their resources.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed!

@hdeshev hdeshev force-pushed the livesync-typescript branch from 03886e7 to c572851 Compare October 26, 2015 15:18
Fix app_resources too by using the proper **/.../** mask.
@teobugslayer
Copy link
Contributor

👍

@hdeshev hdeshev force-pushed the livesync-typescript branch from c572851 to 25476f3 Compare October 26, 2015 15:49
@ns-bot
Copy link

ns-bot commented Oct 26, 2015

Test PASSed.

hdeshev added a commit that referenced this pull request Oct 26, 2015
@hdeshev hdeshev merged commit 10dc999 into master Oct 26, 2015
@hdeshev
Copy link
Contributor Author

hdeshev commented Oct 26, 2015

Fixes #1106

@teobugslayer teobugslayer deleted the livesync-typescript branch November 18, 2015 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants