Skip to content

TNS run command broken with using --watch #2150

@NathanaelA

Description

@NathanaelA

According to the docs (and my experience) with the tns run ios command -- it rebuilds the app, deploys it and then runs it.

However, if you add the cool magical --watch command the initial build/deploy is skipped and it acts exactly as if you did a tns livesync ios --watch. This is completely different behavior that I don't expect. When I use the tns run ios --emulator --watch I expect it do a full build the app, deploy it, run it and then livesync any changed files after that point.

Right now because it is broken; you have to a tns run ios --emulator ctrl-c after it deploys it, and then start the --watch command.

TNS v2.30 - issue is on ios for sure. No idea on Android as I still use my LiveEdit and never use the --watch command on android.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions