Skip to content

The Open Source DocuSign Alternative.

fix: update devcontainer

Mythie90bacea7ed6e
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 59a318b7f..82c6d1e2b 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -10,6 +10,7 @@
"ghcr.io/devcontainers/features/node:1": {}
},
"onCreateCommand": "./.devcontainer/on-create.sh",
+ "postStartCommand": "./.devcontainer/post-start.sh",
"forwardPorts": [
3000,
54320,
diff --git a/.devcontainer/on-create.sh b/.devcontainer/on-create.sh
index 2d823e864..a66491ef7 100755
--- a/.devcontainer/on-create.sh
+++ b/.devcontainer/on-create.sh
@@ -16,6 +16,3 @@ set +a
# Run the migrations
npm run -w @documenso/prisma prisma:migrate-dev
-
-# Start the app
-npm run dev
diff --git a/.devcontainer/post-start.sh b/.devcontainer/post-start.sh
new file mode 100755
index 000000000..80d19dc7c
--- /dev/null
+++ b/.devcontainer/post-start.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+npm run dev