Add hot-reloading for env file changes (#38483)
* Add hot-reloading for env file changes
* update watching
* update test
* update initial env handling
* undo test change
* add comment for entries clearing
* update on-demand-entry-handler restart handling
* lint-fix
* handle bad plugin