diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 78025a5..5a5e3b1 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -71,6 +71,15 @@ "command": "rsync -azp --delete --chmod=D0755,F0755 --rsh='ssh -p ${config:deckport} ${config:deckkey}' --exclude='.git/' --exclude='.github/' --exclude='.vscode/' --exclude='node_modules/' --exclude='src/' --exclude='*.log' --exclude='.gitignore' . deck@${config:deckip}:${config:deckdir}/homebrew/plugins/${workspaceFolderBasename}", "problemMatcher": [] }, + { + "label": "restartloader", + "detail": "Restart the plugin loader (to load updated python code)", + "type": "shell", + "group": "none", + "dependsOn": [], + "command": "ssh deck@${config:deckip} -p ${config:deckport} ${config:deckkey} 'echo '${config:deckpass}' | sudo -S systemctl restart plugin_loader'", + "problemMatcher": [] + }, { "label": "chmodfolders", "detail": "chmods folders to prevent perms issues", @@ -98,6 +107,8 @@ "dependsOn": [ "buildall", "deployall" + // Uncomment this line if you'd like your python code reloaded after deployment (this will restart Steam) + // ,"restartloader" ], "problemMatcher": [] }