From 5dc7853cadcaf85d8c6f60991bd6086522b282ce Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Tue, 13 Oct 2020 21:40:25 +0200 Subject: [PATCH] Added nicer commands --- .devcontainer/devcontainer.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8bd7138..8dabd74 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,6 @@ { "name": "Substrate Node template", + "context": "..", "settings": { "terminal.integrated.shell.linux": "/bin/bash", "lldb.executable": "/usr/bin/lldb" @@ -13,5 +14,7 @@ 3000, 9944 ], + "preCreateCommand": "cargo build --release && cargo check", + "postStartCommand": "./target/release/node-template --dev --ws-external", "image": "paritytech/substrate-playground-template-node-template:sha-c9fda53" }