Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

start-server-webpack-plugin

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

start-server-webpack-plugin - npm Package Compare versions

Comparing version 3.0.0-rc1 to 3.0.0-rc2

6

dist/StartServerPlugin.js

@@ -32,5 +32,8 @@ 'use strict';

once: false,
args: [],
// Only listen on keyboard in development, so the server doesn't hang forever
restartable: process.env.NODE_ENV === 'development'
}, options);
if (!Array.isArray(this.options.args)) throw new Error('options.args has to be an array of strings');
this.afterEmit = this.afterEmit.bind(this);

@@ -128,4 +131,3 @@ this.apply = this.apply.bind(this);

if (worker) return;
console.warn(`sswp> running \`node ${[...execArgv, scriptFile, '--', ...(options.args || [])].join(' ')}\``);
console.warn(`sswp> running \`node ${[...execArgv, scriptFile, '--', ...options.args].join(' ')}\``);
this.worker = _child_process2.default.fork(scriptFile, options.args, { execArgv });

@@ -132,0 +134,0 @@ this.worker.once('exit', this._handleChildExit);

{
"name": "start-server-webpack-plugin",
"version": "3.0.0-rc1",
"version": "3.0.0-rc2",
"description": "Automatically start your server once Webpack's build completes.",

@@ -5,0 +5,0 @@ "main": "dist/StartServerPlugin.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc