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

Updating App_Resources styles.xml kills livesync #942

Closed
sitefinitysteve opened this issue Sep 18, 2015 · 1 comment
Closed

Updating App_Resources styles.xml kills livesync #942

sitefinitysteve opened this issue Sep 18, 2015 · 1 comment
Labels
Milestone

Comments

@sitefinitysteve
Copy link

If I have livesync enabled and change any of the xml styles it crashes with

ENOENT, stat 'c:\Dropbox\Projects\Leap\OutbreakHelp\Mobile\Native\OutbreakHelp\platforms\android\src\main\assets\app\App_Resources\Android\values-v21\colors.xml'

@rosen-vladimirov
Copy link
Contributor

Thanks for reporting this @sitefinitysteve
It looks like changing anything inside app/AppResources/<platformName> is causing such ENOENT errors as we are searching for the files from AppResources on incorrect place.
Steps to reproduce:

  1. Create new project (tns create app1)
  2. Add platform, for example Android (tns platform add android)
  3. Add testFile.xml inside app/AppResources/Android/
  4. Deploy your application on the device (tns run android)
  5. Start livesync: tns livesync android --watch
  6. Modify testFile.xml created in step 3.

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

5 participants