
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
vite-plugin-restart
Advanced tools
Custom files/globs to restart Vite server
Install
npm i vite-plugin-restart -D # yarn add vite-plugin-restart -D
Add it to vite.config.js
// vite.config.js
import ViteRestart from 'vite-plugin-restart'
export default {
plugins: [
ViteRestart({
restart: [
'my.config.[jt]s',
]
})
],
}
Changes to my.config.js
or my.config.ts
will now restart the server automatically.
Byebye nodemon -w my.config.js -x 'vite'
MIT License © 2021 Anthony Fu
FAQs
Custom files/globs to restart Vite server
The npm package vite-plugin-restart receives a total of 26,367 weekly downloads. As such, vite-plugin-restart popularity was classified as popular.
We found that vite-plugin-restart demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.