New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

smart-restart

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smart-restart - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

3

index.js

@@ -30,2 +30,3 @@ #!/usr/bin/env node

restartOnError: true,
restartOnExit: true,
killSignal: 'SIGINT',

@@ -62,3 +63,3 @@ command: process.argv[0],

childRunning = false
restart()
if (options.restartOnExit) restart()
}

@@ -65,0 +66,0 @@

{
"name": "smart-restart",
"version": "2.2.0",
"version": "2.3.0",
"description": "Like nodemon but only watches require()d files. Like piping but easy to use with node-inspector.",

@@ -5,0 +5,0 @@ "engines": {

@@ -47,2 +47,4 @@ # smart-restart

],
restartOnError: true, // optional, restart when child process has an uncaught error/promise rejection (default: true)
restartOnExit: true, // optional, restart when child process exits (default: true)
})

@@ -49,0 +51,0 @@ ```

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