electron-watcher-webpack-plugin weekly downloads statistics
By geakstr · npm · Webpack plugins
Live reload Electron main and renderers processes with webpack plugin
electron-watcher-webpack-plugin has 30 recorded weekly downloads on npm, a decrease of 31.8% over the past 30 days, ranking #2904 of 3,247 tracked listings.
About electron-watcher-webpack-plugin
Installation
npm install electron-watcher-webpack-plugin --save
Usage
Add to webpack.config.js plugins array:
const path = require("path");
const { ElectronWatcherWebpackPlugin } = require("electron-watcher-webpack-plugin");
// ...
module.exports = {
// ...
plugins: [
// ...
new ElectronWatcherWebpackPlugin({
// Absolute path to directory where node_modules placed. Required
root: __dirname,
// List of globs to watch for hard reload. Required
watch: [path.resolve(__dirname, "./src/main")],
// Launch electron only once. Default: true. Optional
once: true,
// Absolute path to nodemon executable. Default: root/node_modules/.bin/nodemon. Optional
nodemon: path.resolve(__dirname, "node_modules", ".bin", "nodemon"),
// Absolute path to electron executable. Default: root/node_modules/.bin/electron. Optional
electron: path.resolve(__dirname, "node_modules", ".bin", "electron"),
// Options to pass to `spawn` process. Optional
options: {
cwd: path.resolve(__dirname, "..")
}
}),
// ...
];
// ...
}
And watch files changes inside main.js:
const { app, BrowserWindow } = require("electron");
// ...
require("electron-watcher-webpack-plugin").watch({
// List of globs for hard refresh
hard: [path.resolve(__dirname, "../main")],
// List of globs for soft refresh
soft: [path.resolve(__dirname, "../renderer")]
// Watching enabled only in dev environment, but you can force watching anytime. Default: false. Optional
forceWatch: false
});
// ...
Description from the npm listing.
- electron
- webpack
- webpack-plugin
- plugin
- live-reload
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (142)Similar npm Webpack plugins plugins
All 20 electron-watcher-webpack-plugin alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/electron-watcher-webpack-plugin. First seen Nov 12, 2026; last successful collection Nov 21, 2026. See the methodology.