You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

vite-plugin-full-reload

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-full-reload

Reload the page when files are modified

1.2.0
latest
Source
npm
Version published
Weekly downloads
524K
-10.84%
Maintainers
1
Weekly downloads
 
Created

What is vite-plugin-full-reload?

vite-plugin-full-reload is a Vite plugin that enables full page reloads when certain files change. This is particularly useful for scenarios where hot module replacement (HMR) is not sufficient or applicable, such as when working with non-JavaScript files or complex build setups.

What are vite-plugin-full-reload's main functionalities?

Full Page Reload on File Change

This feature allows you to specify a list of file patterns. When any of these files change, the entire page will reload. This is useful for ensuring that changes to configuration files or other non-JavaScript assets are properly reflected in the browser.

json
{
  "plugins": [
    require('vite-plugin-full-reload')(['config/**/*', 'src/**/*'])
  ]
}

Other packages similar to vite-plugin-full-reload

Keywords

vite

FAQs

Package last updated on 08 Jul 2024

Did you know?

Socket

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.

Install

Related posts