Skip to content

Commit 5f5daef

Browse files
committed
Fix Linux bunyan exec (./dev)
1 parent ed67b50 commit 5f5daef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dev

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,10 @@ export SITE_HOST=http://javascript.local
1212
export TUTORIAL_EDIT=
1313
export NODE_PRESERVE_SYMLINKS=1
1414

15+
# Use a local bunyan if no other is found in the current environment
16+
if ! [ -x "$(command -v bunyan)" ]; then
17+
export PATH="$PATH:./node_modules/bunyan/bin"
18+
fi
19+
1520
npm --silent run gulp dev | bunyan -o short -l debug
1621

0 commit comments

Comments
 (0)