diff options
| author | Kevin Hester <kevinh@geeksville.com> | 2023-02-20 10:34:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-20 10:34:55 -0800 |
| commit | 1dd9bb21b6571c878d29f48372ca02f0471dca49 (patch) | |
| tree | 81d152d3d0aaa8040095a6afdc9702961c898cb5 | |
| parent | d81b0bbc060eca5276763fe25c8010dab82b8dad (diff) | |
| download | decky-bazzite-buddy-1dd9bb21b6571c878d29f48372ca02f0471dca49.tar.gz decky-bazzite-buddy-1dd9bb21b6571c878d29f48372ca02f0471dca49.zip | |
Add a 'restartloader' tasks to restart the python backend. (#19)
This is useful for testing/developing the python code.
I also added this as an optional last
subtask on allinone.
| -rw-r--r-- | .vscode/tasks.json | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 78025a5..5a5e3b1 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -72,6 +72,15 @@ "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", "type": "shell", @@ -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": [] } |
