Conversation
🦋 Changeset detectedLatest commit: ea076ab The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughA patch update was recorded for the Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used🧬 Code Graph Analysis (1)src/cli/index.ts (1)
🪛 LanguageTool.changeset/sharp-snails-draw.md[uncategorized] ~5-~5: You might be missing the article “a” here. (AI_EN_LECTOR_MISSING_DETERMINER_A) ⏰ Context from checks skipped due to timeout of 90000ms (3)
🔇 Additional comments (4)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Pull Request Overview
The PR removes direct references to the now-virtual i18n.json file so it’s no longer treated as a physical config file or trigger for watcher restarts.
- Drop
I18N_FILEfrom imported constants andCONFIG_FILES - Adjust file-watcher logic to stop checking for
i18n.jsonchanges
Comments suppressed due to low confidence (2)
src/cli/index.ts:29
- Add or update tests to verify that the file watcher no longer restarts when the virtual
i18n.jsonmodule is modified, ensuring this behavior is covered.
const CONFIG_FILES = [...DEFAULT_CONFIGS, SITES_FILE]
src/cli/index.ts:19
- [nitpick] If
I18N_FILEis not used anywhere else, consider removing its definition and export fromconstants.jsto clean up dead code.
import { CWD, DEFAULT_CONFIGS, SITES_FILE } from './constants.js'
commit: |
Signed-off-by: JounQin <admin@1stg.me>
related web-infra-dev/rspress#2019
Summary by CodeRabbit