Skip to content

Commit 2113f23

Browse files
committed
Replaced hardcoded path with CLI option
Relocated createServer to function
1 parent 9b5ee40 commit 2113f23

5 files changed

Lines changed: 148 additions & 592 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
### CLI options
1212

13+
Launch HTTP server instance:
14+
15+
$ npm start ./path/to/script.js
16+
1317
Run [ESLint](https://eslint.org/) on project sources:
1418

1519
$ npm run lint

0 commit comments

Comments
 (0)