Skip to content

Commit 4a37bee

Browse files
committed
Fix devcontainer mount
1 parent f9f828f commit 4a37bee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,15 @@
4747
}
4848
},
4949

50-
"workspaceMount": "source=${localEnv:HOME}/projects,target=/home/codespace/projects,type=bind,consistency=cached",
51-
"workspaceFolder": "/home/codespace/projects",
50+
"workspaceMount": "source=${localEnv:HOME}/Projects,target=/home/codespace/Projects,type=bind,consistency=cached",
51+
"workspaceFolder": "/home/codespace/Projects",
5252

5353
"mounts": [
5454
"source=nix,target=/nix,type=volume"
5555
],
5656

57+
"initializeCommand": "mkdir -p ${localEnv:HOME}/Projects",
58+
5759
// Use 'postCreateCommand' to run commands after the container is created.
5860
"postCreateCommand": "curl -sSL https://raw.githubusercontent.com/arctan95/codespaces/HEAD/.devcontainer/first-run-setup.sh | bash",
5961

0 commit comments

Comments
 (0)