docs(loader-client,loader-server): the READMEs give --dir a default the code does not have

オープン
#143 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@mentallyunstable-lab がすでに取り組んでいます。

2026年11月11日 から。

  • #147 @mentallyunstable-lab による — オープン

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
bun, typescript
領域
documentation

調査の方向性

Read the option tables in the root README and the client and server READMEs at the cited locations. Compare the documented --dir behavior with the error in apps/client/src/server.ts and apps/server/src/server.ts; the issue leaves open whether to mark the option required or add a code default. Done means the documentation and CLI behavior agree, including correcting the server watcher description.

索引モデルが issue の本文から書いたものです。

説明

app:client app:server documentation good first issue
What is the type of issue?

Documentation is incorrect

What is the issue?

The READMEs list .nanoforge/client and .nanoforge/server as defaults for -d, --dir. The code has no default and throws (client server.ts#L40, server server.ts#L29):

$ bun apps/client/dist/server.js
error: No game dir specified

The server README also says changes are "debounced to 100 ms", but the watcher acts on the first event and ignores the next 100 ms (see the watcher debounce issue).

Fix: mark --dir as required in the tables, or add the default in commander to match the docs.

Found during a read-only audit of main @ 044c766 (2026-11-11).

Where did you find it?
主要言語
TypeScript
スター
1
フォーク
0
平均マージ
17時間 25分
マージ済み PR(30日)
11

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NanoForge-dev/Loader のほかの issue

NanoForge-dev/Loader の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。