0.1.2 • Published 2 years ago

vite-plugin-reload v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

vite-plugin-reload

Reload Vite for plugin development

Install

npm i vite-plugin-reload --save-dev

Usage

import VitePluginReload from 'vite-plugin-reload'

export default defineConfig({
  plugins: [
    // ... etc
    VitePluginReload({
      includes: [
        '../src/**/*', // directory for plugin development
      ],
    }),
  ],
  // ...etc
})

Options

includes

  • Array of files, directories, or glob patterns for tracking.
  • Default: []
  • Example: ['../src/**/*']

delay

  • Delay in milliseconds to wait before reloading.
  • Default: 500
  • Example: 500
0.1.2

2 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.3

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.2

3 years ago