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

tns run command to watch for changes by default #2330

Closed
tzraikov opened this issue Dec 7, 2016 · 1 comment
Closed

tns run command to watch for changes by default #2330

tzraikov opened this issue Dec 7, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@tzraikov
Copy link
Contributor

tzraikov commented Dec 7, 2016

Currently when executing tns run command you should pass the --watch option in order to start watching for changes. We will change this behavior so that when you execute tns run command the watch to be on by default.
If you don't want to watch, we will provide a --no-watch option.
If you want to rebuild the application explicitly, we will provide the --clean option

The deploy, prepare and build commands will not be changed. The livesync command will be deprecated in 2.5 and removed in 2.6.
We should update the docs accordingly.

@vchimev
Copy link

vchimev commented Jan 19, 2017

Additional:
In order to run the app and release the console/terminal, --justlaunch option should be used.

Summary:
https://github.com/NativeScript/nativescript-cli/wiki/Workflow-commands-spec#run

@vchimev vchimev closed this as completed Jan 19, 2017
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

3 participants