summaryrefslogtreecommitdiff
path: root/.devcontainer/devcontainer.json
diff options
context:
space:
mode:
authorKyle VanderBeek <kylev@kylev.com>2024-03-09 23:18:31 +0000
committerKyle VanderBeek <kylev@kylev.com>2024-03-09 23:18:31 +0000
commit2fb135026cd3b072a54fdd211405090afca6f75e (patch)
tree7a038941d2b02d561720c07bef174e5099e303dc /.devcontainer/devcontainer.json
parent77903200a0c19ef4ad2de7b2abec06e301d0dccc (diff)
Add back the post-attach watch.
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r--.devcontainer/devcontainer.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index a7f4f78..f25e8bd 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -1,6 +1,7 @@
{
"image": "mcr.microsoft.com/devcontainers/rust:1",
- "updateContentCommand": "cargo build",
+ "updateContentCommand": ["cargo", "build"],
+ "postAttachCommand": ["rustlings", "watch"],
"remoteEnv": {
"PATH": "${containerEnv:PATH}:${containerWorkspaceFolder}/target/debug"
}