{"library":"vite-plugin-restart","type":"library","category":null,"description":"vite-plugin-restart is a Vite development server plugin that allows developers to define custom files or glob patterns whose changes trigger an automatic restart of the Vite server or a client-side full page reload. This eliminates the need for manual server restarts when modifying configuration files, database schemas, or other non-hot-reloadable assets, often replacing external watchers like `nodemon`. The package is currently stable at version `2.0.0` and typically releases updates to maintain compatibility with new Vite major versions and introduce features or bug fixes. A key differentiator introduced in v2.0.0 is content-based change detection, which, by default, prevents unnecessary restarts caused by file metadata changes or infinite loops when watching auto-generated files. It also offers a `delay` option to debounce restart triggers.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","vite-plugin","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vite-plugin-restart","imports":["import ViteRestart from 'vite-plugin-restart'","import ViteRestart from 'vite-plugin-restart'"]},{"cmd":"yarn add vite-plugin-restart","imports":[]},{"cmd":"pnpm add vite-plugin-restart","imports":[]}],"homepage":null,"github":"https://github.com/antfu/vite-plugin-restart","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-restart","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vite-plugin-restart/compatibility"}}