From 18eef713a0237ce9f6dcf23341dc7f3c9368ba57 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Tue, 10 Dec 2019 22:25:16 +0000 Subject: [PATCH] add local run script --- scripts/localrun.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/localrun.sh diff --git a/scripts/localrun.sh b/scripts/localrun.sh new file mode 100755 index 0000000..00300ed --- /dev/null +++ b/scripts/localrun.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +(go run ./cmd/wasmcloudd 2>&1 | prefix "web ") & +(go run ./cmd/wasmcloud-executor 2>&1 | prefix "worker") & + +wait +killall -9 wasmcloudd ||: +killall -9 wasmcloud-executor ||: