Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

tries to upload non-existent .git file after a few mins being idle #154

Open
digggggggggg opened this issue Dec 23, 2019 · 0 comments
Open

Comments

@digggggggggg
Copy link

Description

This is really weird, but I'll try my best to explain it. the extension is trying to upload .git files for every actual file it deploys. If I deploy testing.txt a few minutes later the extension tries to upload testing.txt.git even though that file doesn't exist, never did. And it happens every time I leave the editor for a few minutes and focus the window again.

Actual behavior

Tries to upload .git file that doesn't exist

Expected behavior

It shouldn't be trying to upload files that don't exist for no reason.

Steps to reproduce

  1. Open editor.
  2. Save file.
  3. Leave editor, blur, work on another window for a couple of minutes
  4. Focus editor window again.

Example config

{
    "deploy.reloaded": {
        "fastCheckOnSave": true,
        "fastCheckOnChange": true,
        "fastCheckOnSync": true,
        "fastFileCheck": true,
        "packages": [
            {
                "name": "whatever",
                "fastCheckOnSave": true,
                "fastCheckOnChange": true,
                "fastCheckOnSync": true,
                "fastFileCheck": true,
                "deployOnSave": true,
                "deployOnChange": true,
                "files": [
                    "**/*"
                ],
                "targets": [
                    /* etc */
                ],
            }
        ]
    }
}

Logs

// write log messages here, if possible
Extension has been initialized.
[23:34:01] � Deploying file '/testing.txt' to '/ (fwxcms-fenton)' ... ✅ [234 ms]
[23:38:23] � Deploying file '/testing.txt.git' to '/ (fwxcms-fenton)' ... �: 'ENOENT: no such file or directory, open 'c:\Users\path\testing.txt.git'' [2 ms]
[23:38:24] � Deploying file '/testing.txt.git' to '/ (fwxcms-fenton)' ... �: 'ENOENT: no such file or directory, open 'c:\Users\path\testing.txt.git'' [3 ms]
[23:46:00] � Deploying file '/testing.txt.git' to '/ (fwxcms-fenton)' ... �: 'ENOENT: no such file or directory, open 'c:\Users\path\testing.txt.git'' [3 ms]
[23:46:02] � Deploying file '/testing.txt.git' to '/ (fwxcms-fenton)' ... �: 'ENOENT: no such file or directory, open 'c:\Users\path\testing.txt.git'' [2 ms]
[23:49:53] � Deploying file '/testing.txt.git' to '/ (fwxcms-fenton)' ... �: 'ENOENT: no such file or directory, open 'c:\Users\path\testing.txt.git'' [2 ms]
[23:49:55] � Deploying file '/testing.txt.git' to '/ (fwxcms-fenton)' ... �: 'ENOENT: no such file or directory, open 'c:\Users\path\testing.txt.git'' [2 ms]

// maybe one or more log files are available
// in sub folder '.vscode-deploy-reloaded/.logs'
// inside your home directory

Screenshot

EQLnW2z

Your environment

  • Operating system: Windows 10
  • Visual Studio Code version: 1.41
  • Extension version: v0.89.0

Additional comments

Baffled. Just baffled.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant