指定环境运行不打印日志不能热更新
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- cli, developer-experience, tooling
Research direction
Start by running cross-env EGG_SERVER_ENV=test DEBUG=* egg-bin dev on Windows 11 and compare it with egg-bin dev, checking both logging and reload behavior. Trace the egg-bin dev entry point and its environment-variable handling. Done means the specified environment retains concise necessary logs and code changes trigger automatic hot updates.
Written by the indexing model from the issue text.
Description
Windows 11 下执行以下命令:
cross-env EGG_SERVER_ENV=test DEBUG=* egg-bin dev
- 不带 DEBUG=* 则不打印日志,带了则啰嗦一大片
- 修改代码不能自动热更新
期望带环境也跟egg-bin dev效果一致:
- 克制和必要的日志打印
- 修改文件自动热更新。
- Dominant language
- TypeScript
- Stars
- 191
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from eggjs/bin
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 62/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·