{"library":"vite-plugin-watch-env","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","vite-plugin","watch-env","dot-env","env","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-plugin-watch-env","imports":["import { loadEnv } from 'vite-plugin-watch-env'","import { watchEnv } from 'vite-plugin-watch-env'","import vitePluginWatchEnv from 'vite-plugin-watch-env'","import type { WatchEnvOptions } from 'vite-plugin-watch-env'"]},{"cmd":"yarn add vite-plugin-watch-env","imports":[]},{"cmd":"pnpm add vite-plugin-watch-env","imports":[]}],"homepage":null,"github":"https://github.com/Enoooch/vite-plugin-watch-env","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-watch-env","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}