diff --git a/dev b/dev index 62a5092..9b3fc16 100755 --- a/dev +++ b/dev @@ -12,5 +12,10 @@ export SITE_HOST=http://javascript.local export TUTORIAL_EDIT= export NODE_PRESERVE_SYMLINKS=1 +# Use a local bunyan if no other is found in the current environment +if ! [ -x "$(command -v bunyan)" ]; then + export PATH="$PATH:./node_modules/bunyan/bin" +fi + npm --silent run gulp dev | bunyan -o short -l debug