
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
vite-plugin-page-reload
Advanced tools
Automatically reload the page when watched files change during development with Vite.
Automatically reload the page when watched files change during development with Vite.
// vite.config.js
import pageReload from 'vite-plugin-page-reload'
export default {
plugins: [
pageReload('/tmp/theme.update')
]
}
Type: string | string[]
File paths (or globs) to watch for changes. The page will reload when any of these files change.
Type: boolean
Default: true
Reload the page regardless of the modified file.
Type: number
Default: 25
Milliseconds to wait before reloading after a change.
Type: boolean
Default: true
Log file change-triggered reloads.
Type: string
Default: process.cwd()
Resolve paths against this directory.
This plugin is based on the ideas from the following projects and extends their functionality with the addition of a debounce function:
FAQs
Automatically reload the page when watched files change during development with Vite.
We found that vite-plugin-page-reload demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.