Skip to content

Commit

Permalink
Use node -r babel-register instead of babel-node
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Apr 12, 2016
1 parent 70d23a6 commit 118f20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -9,7 +9,7 @@
"test-watch": "npm test -- --watch",
"test-e2e": "cross-env NODE_ENV=test mocha --compilers js:babel-core/register --require ./test/setup.js --require co-mocha ./test/e2e.js",
"lint": "eslint app test *.js",
"hot-server": "babel-node server.js",
"hot-server": "node -r babel-register server.js",
"build-main": "cross-env NODE_ENV=production babel-node ./node_modules/.bin/webpack --config webpack.config.electron.js --progress --profile --colors",
"build-renderer": "cross-env NODE_ENV=production babel-node ./node_modules/.bin/webpack --config webpack.config.production.js --progress --profile --colors",
"build": "npm run build-main && npm run build-renderer",
Expand Down

0 comments on commit 118f20a

Please sign in to comment.