
Security News
Anthropic Identifies Biased Reasoning and Recklessness as Drivers of Claude’s PyPI Attack
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.
vite-plugin-wasm-pack-watcher
Advanced tools
Watch for Rust file changes and rebuild the project with wasm-pack on changes.
A Vite plugin which recompiles your Rust WebAssembly project whenever you modify a Rust (*.rs) file.
vite.config.(js|ts) file and set the build.watch parameter
to listen for .rs file changes as well:import { defineConfig } from "vite";
import wasmPackWatchPlugin from "vite-plugin-wasm-pack-watcher";
export default defineConfig({
build: {
watch: {
include: ["src/**/*.js", "src/**/*.ts", "src/**/*.rs"], // Watch for *.rs files
},
},
plugins: [
wasmPackWatchPlugin({
/*
buildCommand: "<your custom build command to run, defaults to wasm-pack build --dev>"
*/
}),
],
});
Note: Please note that this plugin is not a replacement for vite-plugin-wasm or similar plugins!
wasm-pack in your package.json
you need to reference it as a "link", otherwise this plugin will keep reloading the old,
unchanged version!{
"dependencies": {
"<your wasm package name>": "link:./pkg"
}
}
FAQs
Watch for Rust file changes and rebuild the project with wasm-pack on changes.
We found that vite-plugin-wasm-pack-watcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.

Research
/Security News
Malicious Chrome and Firefox extensions target Axiom Trade and Padre users, stealing session tokens and wallet data.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.