Files edited externally are uploaded with 'watcher["files"]' set to false, if 'uploadOnSave' is set to true
See original GitHub issueIssue:
If uploadOnSave
is true
, then files saved externally will upload, even if watcher["files"]
is false
.
Relevant Settings:
{
...
"uploadOnSave": true,
"watcher": {
"files": false,
"autoUpload": false,
"autoDelete": false
}
}
Steps to duplicate:
- Create a new file
myfile.txt
- Set
uploadOnSave
totrue
- Set
watcher["files"]
tofalse
- Change
myfile.txt
with Notepad (or any external program) and save. - Note that
myfile.txt
is uploaded to the server, even thoughwatcher["files"]
isfalse
.
What should happen:
- When
watcher["files"]
isfalse
, files changed externally should not upload, even whenuploadOnSave
istrue
.
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:6 (4 by maintainers)
Top Results From Across the Web
visual studio code - vscode git, sftp configure - Stack Overflow
I find that sftp option "uploadOnSave": true, "syncMode": "full", "watcher": { "files": "**", "autoUpload": true, "autoDelete": true },.
Read more >FTP Sync Local & Remote Server files with VS code - YouTube
Increase your productivity in the Visual Studio Code Editor by simple synchronizing of your project files while saving them from a local to ......
Read more >VSCode FTP / edit remote files / download and ... - YouTube
How to edit remote files in vscode. Hey guys let's use vscode ftp to upload and download files #vscode #visualstudiocode 00:00 vscode FTP ......
Read more >How to use FTP Simple in Visual Studio Code - YouTube
Being able to connect to a web server and make changes without having to download files, open them with a code editor and...
Read more >FTP-Sync for VSCode | Upload Files on Save Vs-Code
FTP-Sync is an Extension for VS Code, which automatically uploads the file when we SAVE the changes.How to use the FTP-Sync extension for...
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
@duanehutchins Now it works the way you like.
That’s the reason why I write another one. I think that be aware of external change it’s a power, not a limitation. I will consider adding a config to change this behavior.