Skip to content

[Question] Check if --syncAllFiles flag was passed when running app #3865

@NickIliev

Description

@NickIliev

From @aaayushsingh on September 3, 2018 18:47

I have a hook that needs to check if tns run <platform> --syncAllFiles was used or just tns run <platform>. Basically I need to check for --syncAllFiles flag. I couldn't find a resource for this.

or is there another way to execute a hook on full build and ignore otherwise?

Copied from original issue: NativeScript/NativeScript#6236

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions