{"library":"run-node-webpack-plugin","title":"RunNodeWebpackPlugin","description":"Webpack plugin that automatically starts and restarts a Node.js script after webpack compilation. Version 2.0.0 requires webpack ^5.0.0 and ships TypeScript types. Key differentiators: runs scripts only on actual bundle changes (not every recompilation), supports custom script selection, watch-mode control, and process argument configuration. More efficient than nodemon/pm2 for webpack dev workflows. Actively maintained on GitHub.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install run-node-webpack-plugin"],"cli":null},"imports":["import RunNodeWebpackPlugin from 'run-node-webpack-plugin'","const RunNodeWebpackPlugin = require('run-node-webpack-plugin');","import RunNodeWebpackPlugin from 'run-node-webpack-plugin';"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const RunNodeWebpackPlugin = require('run-node-webpack-plugin');\nconst path = require('path');\n\nmodule.exports = {\n  target: 'node',\n  entry: './src/server.js',\n  output: {\n    path: path.resolve(__dirname, 'dist'),\n    filename: 'server.js'\n  },\n  plugins: [\n    new RunNodeWebpackPlugin()\n  ]\n};\n","lang":"javascript","description":"Basic webpack config for Node.js server that restarts after each compilation using RunNodeWebpackPlugin.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}