#!/bin/sh
set -e
nodejs -e "require('vue-hot-reload-api');" 2>&1 | grep "ReferenceError: window is not defined" && echo \
"Note: 'ReferenceError: window is not defined' is an expected error message. \
We want to test if node can find dist/index.js only."
