Skip to content

Commit 709e1b8

Browse files
Update devcontainer.json
Added postCreateCommand setting. (This setting lets me run a custom command after creating the container.)
1 parent a01598e commit 709e1b8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.devcontainer/devcontainer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,7 @@
2525
"codespace.md"
2626
]
2727
}
28-
}
28+
},
29+
30+
"postCreateCommand": "echo '# Writing code upon codespace creation!' >> codespace.md"
2931
}

0 commit comments

Comments
 (0)