Skip to content

Command line tns run android --clean rebuilds #2670

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

Closed
NathanaelA opened this issue Mar 28, 2017 · 3 comments
Closed

Command line tns run android --clean rebuilds #2670

NathanaelA opened this issue Mar 28, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@NathanaelA
Copy link
Contributor

Tell us about the problem

If you use tns run android --clean it does a full rebuild on EVERY single file change. --clean should do an initial rebuild for the first run, but then all other changes should be simple livesyncs.

Which platform(s) does your issue occur on?

Android for sure, probably on iOS also.

Please provide the following version numbers that your issue occurs with:

2.5.1 CLI

Please tell us how to recreate the issue in as much detail as possible.

  1. tns run android --clean
  2. Change an xml file, watch it rebuild the app again.
@yyosifov yyosifov self-assigned this Mar 29, 2017
@pkoleva pkoleva added the bug label Mar 30, 2017
@yyosifov
Copy link
Contributor

@NathanaelA We've fixed the issue. It was working backwards - "clean" wasn't forcing the first run to rebuild but every change afterwards resulted in rebuild. Now we've fixed the behavior - clean starts with rebuild and from this time on the livesync handles the changes.

Thanks for reporting it!

@pkoleva pkoleva added this to the 3.0.0-RC milestone Apr 3, 2017
@webleaf
Copy link

webleaf commented Oct 24, 2018

Same issue in tns --version 4.2.4

@DimitarTachev
Copy link
Contributor

@webleaf, thanks for reporting that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants