Skip to content

Change livesync dir permissions on device even if app is not restarted #2708

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

Merged
merged 1 commit into from
Apr 13, 2017

Conversation

petekanev
Copy link
Contributor

Original issue in android-runtime: NativeScript/android#591

Changing .css and .xml files in a NativeScript project would not change permissions in the temporary sync dir on the device. This could result in showing outdated views on subsequent installs of the application on the same device without using the CLI's livesync service.

The proposed changes will always chmod 777 the sync directory, thus allowing the runtime to remove any previous livesync artifacts.

Relies on changes made in telerik/mobile-cli-lib#943

@petekanev petekanev self-assigned this Apr 12, 2017
@rosen-vladimirov rosen-vladimirov force-pushed the pete/chmod-livesync-dirs-android branch from cea8aca to be29b81 Compare April 13, 2017 13:52
@dtopuzov
Copy link
Contributor

+1

@rosen-vladimirov
Copy link
Contributor

Merging as the problem is in the tests. Approved by @dtopuzov

@rosen-vladimirov rosen-vladimirov merged commit cb23d5f into master Apr 13, 2017
@rosen-vladimirov rosen-vladimirov deleted the pete/chmod-livesync-dirs-android branch April 13, 2017 14:42
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.

4 participants