Ability to ignore files from build and livesync
See original GitHub issueUsers should be able to setup the CLI to ignore particular files, usually ts, .d.ts, or other source files in a language that compiles to JS / CSS.
We can use the same rules, default rules and implementation code from AppBuilder CLI.
Things to consider:
- We can move the rules into package.json, introduce a dedicated .tnsignore file, or use .abignore file - the latest option brings 100% interoperability with Telerik Platform
- Implement interoperability with AppBuilder- i.e.
appbuilder init
from existing {N} project should consume existing {N} specific ignore rules.
- Implement interoperability with AppBuilder- i.e.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:3
- Comments:9 (7 by maintainers)
Top Results From Across the Web
How to exclude files from Visual Studio compile?
Right click the file, select 'Exclude From Project' · Right click the file, select 'Properties' --> select 'Configuration Properties' --> select ...
Read more >How do I exclude specific users from syncing during liveSync ...
You can specify users to sync during liveSync by defining the accountSynchronizationFilter in your LDAP provisioner config file (for example ...
Read more >Ubuntu Manpage: clsync - live sync tool, written in GNU C
This allows the preservation of enough FS privileges to watch a file tree and execute the sync-handler with required uid and gid [see...
Read more >Live Update Reference - Tilt
To put it another way: there's no way for those files to get into the container in the first place, because they would...
Read more >Working with LiveSync and the PiXYZ Plugin - Unity Learn
In this tutorial you will learn how to work with LiveSync and the PiXYZ ... Unity's ability to detect changes in asset files...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In my opinion
.tnsignore
is better!@pkoleva Not that I can think of right now. Sorry for the late response.
I am interested in a way to add a filter on which kinds of files to watch. Usually this can be expressed as a RegExp or by some simpler means (filename extension, but this isn’t enough in my case).
Emacs, when auto-saving, creates files with the format ‘.#<original filename>’, and sometimes ‘#<original filename>#’ also shows up, but I think that’s a different feature. And then we have some versions which save the file with a tilde in the end (<original filename>~). So the easiest way would be to allow a list of filters. For example --watch-ignore [“.#", "##”], where the strings will differ depending on the approach you take I suppose, RegExp or a simpler way of matching.
This was still a problem the last time I ran ‘tns run android’ (which I think is livesync, correct?) in my project. May have been fixed since this was before the big release. But is there a way to add the filter(s) manually?