Skip to content

Conversation

@DavidJGapCR
Copy link

@DavidJGapCR DavidJGapCR commented Aug 11, 2025

Pausing ticket.

Live reload is possible with appsettings.json because the ASP.NET Core configuration system can watch files for changes and automatically reload their contents at runtime when reloadOnChange: true is set. This is implemented by monitoring the file system for changes.

In contrast, environment variables are set at the OS level and are only read by the application at startup. The .NET runtime does not provide a mechanism to watch for changes to environment variables after the process has started, so live reload is not possible for them. The process would need to be restarted to pick up new environment variable values.

@github-actions
Copy link

Test Results

288 tests   287 ✅  13s ⏱️
  5 suites    1 💤
  5 files      0 ❌

Results for commit 9484ee1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant