Gathering detailed insights and metrics for nodemon-webpack-plugin
Gathering detailed insights and metrics for nodemon-webpack-plugin
Gathering detailed insights and metrics for nodemon-webpack-plugin
Gathering detailed insights and metrics for nodemon-webpack-plugin
webpack-nodemon-plugin
Runs nodemon after webpack compiles
nodemon-browsersync-webpack-plugin
A webpack plugin that starts and reloads Nodemon and Browsersync.
nodemon-ngrok-webpack-plugin
Webpack plugin to start/reload Nodemon server and use ngrok to create localhost tunnel
jaybe78-nodemon-webpack-plugin
A webpack plugin that starts and reloads a server using Nodemon.
A webpack plugin that uses Nodemon to start and reload the server.
npm install nodemon-webpack-plugin
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (85.13%)
Gherkin (14.02%)
Shell (0.85%)
Total Downloads
23,305,711
Last Day
14,009
Last Week
81,133
Last Month
309,924
Last Year
3,420,146
MIT License
183 Stars
268 Commits
22 Forks
4 Watchers
3 Branches
9 Contributors
Updated on Dec 23, 2024
Minified
Minified + Gzipped
Latest Version
4.8.2
Package Id
nodemon-webpack-plugin@4.8.2
Unpacked Size
11.30 kB
Size
4.61 kB
File Count
6
NPM Version
8.19.4
Node Version
14.18.3
Published on
Oct 10, 2023
Cumulative downloads
Total Downloads
Last Day
25.1%
14,009
Compared to previous day
Last Week
23.9%
81,133
Compared to previous week
Last Month
-14.2%
309,924
Compared to previous month
Last Year
6.8%
3,420,146
Compared to previous year
2
1
30
Uses Nodemon to watch and restart your module's output file (presumably a server), but only when webpack is in watch mode (ie, --watch
).
Saves the need for installing, configuring and running Nodemon as a separate process.
1npm install nodemon-webpack-plugin --save-dev
1const NodemonPlugin = require('nodemon-webpack-plugin'); // Ding 2 3module.exports = { 4 entry: './src/server.js', 5 output: { 6 path: path.resolve('./dist'), 7 filename: 'server.js', 8 }, 9 plugins: [ 10 new NodemonPlugin(), // Dong 11 ], 12};
Then:
1$ webpack --watch
1new NodemonPlugin();
Will watch and restart the output file.
Provide a Nodemon config object, like so:
1new NodemonPlugin({ 2 // If using more than one entry, you can specify 3 // which output file will be restarted. 4 script: './dist/server.js', 5 6 // What to watch. 7 watch: path.resolve('./dist'), 8 9 // Arguments to pass to the script being watched. 10 args: ['demo'], 11 12 // Node arguments. 13 nodeArgs: ['--debug=9222'], 14 15 // Files to ignore. 16 ignore: ['*.js.map'], 17 18 // Extensions to watch. 19 ext: 'js,njk,json', 20 21 // Unlike the cli option, delay here is in milliseconds (also note that it's a string). 22 // Here's 1 second delay: 23 delay: '1000', 24 25 // Detailed log. 26 verbose: true, 27 28 // Environment variables to pass to the script to be restarted 29 env: { 30 NODE_ENV: 'development', 31 }, 32});
For a full list of options, see Nodemon's type definitions (Settings
interface).
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
Found 1/4 approved changesets -- score normalized to 2
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
18 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More