During uploadOnSave, files in "ignored" directories are still uploaded
See original GitHub issueIssue:
During uploadOnSave
, files in “ignored” directories are still uploaded on save. In other words, the ‘ignore’ setting is not respected for directories during uploadOnSave
.
Relevant Settings:
{
...
"uploadOnSave": true,
"ignore": [
"**/ignoreme"
]
}
Steps to duplicate:
- Create new directory
ignoreme/
- Create a new file
ignoreme/myfile.txt
- Set
uploadOnSave
totrue
- Add
**/ignoreme
to theignore
list. - Change
ignoreme/myfile.txt
and save. - Note that
ignoreme/myfile.txt
is uploaded to the server, even thoughignoreme/
is an ignored folder.
What should happen:
- Files in “ignored” directories should not upload, even during uploadOnSave.
Please fix this. It is very annoying. It causes my local .git/
files to upload to the server.
Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Visual Studio Code with sftp plugin upload ignored .git folder ...
According to the project's wiki page on github. The developer has updated setting field name, So your sftp settings need to be changed...
Read more >Ignoring Specific Files, Folders and Patterns with the .gitignore ...
The .gitignore file that comes with Drupal contains some default filename patterns to ignore files that shouldn't be in version control.
Read more >.gitignore File – How to Ignore Files and Folders in Git
In this article, you will learn what a .gitignore file is, how to create one, and how to use it to ignore files...
Read more >Uploading Objects from Workspace Cache - Windchill
The file is uploaded to your personal folder location on the Windchill server (your server-side workspace), without visibility to other users. The Upload...
Read more >210227 – upload on save not triggering
Netbeans project folder of settings (2.64 KB, application/zip) ... to upload on save upload on save is not triggering when I save a...
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 FreeTop 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
Top GitHub Comments
Change to this and provide me the log if it still can’t work.
Hey liximomo. I’m having the exact same issue, I can’t get the package to ignore anything other than the .vscode folder where the config is in. I think it was working properly some time ago. I’ve been testing some variations of the config, none works. I’ve tried multiple patterns for the ignore array but nothing seems to work.
Anyway here’s my output:
Thanks in advance.