Vite Plugin for Server Restart on File Changes

JSON →
library 2.0.0 ·javascript
verified May 27, 2026

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.

total hits 11
actors 5 distinct systems
last hit 8d ago AhrefsBot
GPTBot
5
Script
1
Search engines
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France