feat(dev-proxy): reload env file changes#36384
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #36384 +/- ##
==========================================
- Coverage 85.99% 85.99% -0.01%
==========================================
Files 4458 4458
Lines 211918 211893 -25
Branches 39544 39531 -13
==========================================
- Hits 182232 182209 -23
+ Misses 26471 26469 -2
Partials 3215 3215
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
hyoban
approved these changes
May 19, 2026
zhangtaodemama
added a commit
to zhangtaodemama/langgenius-dify-bfaadcb0c706
that referenced
this pull request
May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--no-watchflag--env-filechangesWhy chokidar
c12 watchConfigis the official config-watch path and is used for dev proxy config changesc12 watchConfigdoes not include the explicit dotenv file passed through--env-filein its watched file listchokidaris c12's documented watcher peer for config watching, so dev-proxy declares it directly and uses it narrowly for the env file instead of relying on an implicit transitive install or an outer process restarterTest
pnpm --config.verify-deps-before-run=false --filter @langgenius/dev-proxy type-checkpnpm --config.verify-deps-before-run=false --filter @langgenius/dev-proxy testpnpm --config.verify-deps-before-run=false --filter @langgenius/dev-proxy build