I don't understand how to setup the config for multiple contexts. In the example, why is the context and the remotePath have the same folder names? I am maintaining two separate scripts that are to be uploaded to the same server. how would I set this up?
I don't understand how to setup the config for multiple contexts. In the example, why is the context and the remotePath have the same folder names? I am maintaining two separate scripts that are to be uploaded to the same server. how would I set this up?
Is it valid to use one server and two contexts?
[ "name": "server1", "host": "myhost", "protocol": "sftp", "port": 22, "username": "abc", "remotePath": "/home/scripts", "password": "****", "ignore": [".vscode", ".git", ".DS_Store"] "watcher": { "files": "dist/.{js,css}", "autoUpload": false, "autoDelete": false { "name": "project1", "context": "project1/build",
}, { "name": "project2", "context": "project2/build", } ]