Skip to content

Commit 5beeb6c

Browse files
committed
docs: Update document
1 parent 411ac8b commit 5beeb6c

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,20 @@ Local Server for [js-primer](https://github.com/asciidwango/js-primer "js-primer
2525
指定したディレクトリをベースにサーバを起動する
2626

2727
npx @js-primer/local-server ./docs
28-
28+
29+
指定したポート番号でサーバを起動する
30+
31+
npx @js-primer/local-server --port 8000
32+
33+
起動したローカルサーバは、コマンドラインで<kbd>Ctrl+C</kbd>のショートカットを押下することで終了できます。
34+
2935
### Usage for old Node.js
3036

31-
NOde.js 8.2未満の場合は[npm](https://www.npmjs.com/)でインストールし利用できます
37+
Node.js 8.2未満の場合は[npm](https://www.npmjs.com/)でインストールすることで利用できます
3238

3339
npm install local-server --global
3440
$ js-primer-local-server
3541

36-
3742
## Changelog
3843

3944
See [Releases page](https://github.com/js-primer/local-server/releases).

0 commit comments

Comments
 (0)