From 28b2115c6a188c33aa76d4bdc188096fea7ccd79 Mon Sep 17 00:00:00 2001 From: Matt Stauffer Date: Mon, 5 Jun 2017 15:15:45 -0400 Subject: [PATCH] Open up editor before the slow-behind npm install --- lambo | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lambo b/lambo index 06462656..a95308cd 100755 --- a/lambo +++ b/lambo @@ -217,6 +217,10 @@ fi cd "$PROJECTNAME" || exit +if [[ "$CODEEDITOR" != "" ]]; then + $CODEEDITOR . +fi + if [[ "$NODE" = true ]]; then # check if yarn is executable, otherwise use npm if hash yarn 2>/dev/null; then @@ -234,10 +238,6 @@ git init git add . git commit -m "$MESSAGE" -if [[ "$CODEEDITOR" != "" ]]; then - $CODEEDITOR . -fi - # Update .env to point to this database with `root` username and blank pw, # like Mac MySQL defaults, and appropriate domain PROJECTURL="http://$PROJECTNAME.$TLD"