lukasz-wronski / vscode-ftp-sync

Ftp Sync plugin for Visual Studio Code
https://marketplace.visualstudio.com/items/lukasz-wronski.ftp-sync
320 stars 89 forks source link

It does not upload on save despite "uploadOnSave": True ? #328

Closed aawnu closed 3 years ago

aawnu commented 3 years ago

Hello,

I am not sure if this is an error40 due to being new to Visual Studio, but I changed "uploadOnSave" to true (boolean), but it does not actually upload on save. What do I do?

aawnu commented 3 years ago

This is the JSON file I have without host, username and password:

{
    "remotePath": "/",
    "host": "domain",
    "username": "domain.com",
    "password": "password",
    "port": 21,
    "secure": false,
    "protocol": "ftp",
    "uploadOnSave": true,
    "passive": false,
    "debug": false,
    "privateKeyPath": null,
    "passphrase": null,
    "agent": null,
    "allow": [],
    "ignore": [
        "\\.vscode",
        "\\.git",
        "\\.DS_Store"
    ],
    "generatedFiles": {
        "extensionsToInclude": [
            ""
        ],
        "path": ""
    }
}
aawnu commented 3 years ago

It happened to work after a few restarts of Visual Studio, but I have to save twice sometimes for it to upload.