From 073c38ac0b21ee01c7d2928b9f0d471c1388d5af Mon Sep 17 00:00:00 2001 From: Artyom Date: Thu, 4 May 2017 15:34:18 +0300 Subject: [PATCH] [GD-11] Add a script for starting frontend --- start.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 start.sh diff --git a/start.sh b/start.sh new file mode 100755 index 0000000..8563dd5 --- /dev/null +++ b/start.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +tmux new-session -d -s guide +tmux send-keys 'stack exec guide' 'C-m' +tmux split-window -h +tmux send-keys 'cd front && npm start' 'C-m' + +tmux attach-session -t guide