Skip to content

Commit 3b8a561

Browse files
committed
Fix docs command for windows users
Windows doesn't do shebangs, so it has no idea how to run that without the command
1 parent fd31cbc commit 3b8a561

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

docs/dev-run

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env babel-node
21
/* eslint no-process-exit: 0 */
32
import 'colors';
43
import portfinder from 'portfinder';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "npm run lint && npm run build && karma start --single-run && _mocha --compilers js:babel-core/register test/server/*Spec.js",
1414
"lint": "eslint ./",
1515
"docs-build": "babel-node tools/build-cli.js --docs-only",
16-
"docs": "docs/dev-run",
16+
"docs": "babel-node docs/dev-run",
1717
"docs-prod": "npm run docs-build && NODE_ENV=production babel-node docs/server.js",
1818
"docs-prod-unoptimized": "npm run docs-build -- --dev && NODE_ENV=production babel-node docs/server.js"
1919
},

0 commit comments

Comments
 (0)