
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
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.
The npm package vite-plugin-page-reload receives a total of 2,271 weekly downloads. As such, vite-plugin-page-reload popularity was classified as popular.
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 1 open source maintainer 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.