Preparing for system design interviews?  Try bugzed.com →

Vite Plugin Watch Env

JSON →
library 1.0.1 ·javascript
verified Jun 18, 2026

A Vite plugin that loads .env files into process.env and watches for file changes to automatically reload the environment. v1.0.1 is current stable. It provides two functions: loadEnv to load a .env file synchronously at config time, and watchEnv to add the Vite plugin that triggers re-serve when the .env file changes. Lightweight, TypeScript-ready, alternative to dotenv for Vite projects that need hot-reload on env changes.

total hits 11
actors 4 distinct systems
last hit 16d ago AhrefsBot
GPTBot
4
ClaudeBot
3
Script
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇬🇧 United Kingdom