Skip to content

Run should not watch hidden files #2512

@dtopuzov

Description

@dtopuzov

Steps to reproduce:

Start tns run android on hello-world JS project.
vim app/app.css

Result:

Transferring project files...
Successfully transferred .app.css.swp.
Refreshing application...

And watcher start restarting app even before I edit something.

Moreover, when this hidden file disappeared I started receiving this on the console:

Unable to sync files. Error is: Multiple errors were thrown:
ENOENT: no such file or directory, stat '/Users/topuzov/Git/nativescript-cli-tests/TNS_App/platforms/android/src/main/assets/app/.app.css.swp'

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions