Skip to content

Commit

Permalink
Open up editor before the slow-behind npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstauffer committed Jun 5, 2017
1 parent ba1106e commit 28b2115
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lambo
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 28b2115

Please sign in to comment.