{"library":"rollup-plugin-auto-reload","title":"rollup-plugin-auto-reload","description":"Rollup plugin that automatically reloads the browser when watch mode detects changes to bundles. Current stable version is 1.2.1, with slow release cadence. Supports Rollup 3.x and 4.x, requires Node >= 18. It injects a small client-side script to trigger full page reloads, works with any server or file:// protocol. Differentiates from similar plugins (e.g., rollup-plugin-livereload) by its simplicity and zero external WebSocket dependencies in older versions.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-auto-reload"],"cli":null},"imports":["import { autoReload } from 'rollup-plugin-auto-reload'","import type { Plugin } from 'rollup'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { autoReload } from 'rollup-plugin-auto-reload';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/index.js',\n    format: 'iife'\n  },\n  plugins: [\n    autoReload({ port: 35729 })\n  ]\n};","lang":"typescript","description":"Basic Rollup config using autoReload plugin in watch mode to trigger browser refresh.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}