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

express-reload

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-reload

Automatic hot reload express.js server

  • 1.2.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
187
increased by133.75%
Maintainers
1
Weekly downloads
 
Created
Source

express reload

Automaticly reload your express.js server without bringing down the server. This is really useful because it will hot reload instead of waiting for the whole node.js process to restart.

Install

npm install express-reload --save-dev

Find it on https://www.npmjs.com/package/express-reload

Example

var express = require('express')
var reload = require('express-reload')
var app = express()

// path to reload
// important should end with "/" if index.js
var path = __dirname + '/project/'
// or like this for a non index.js name
var path = __dirname + '/project/server.js'

app.use(reload(path))

app.listen(9000, () => console.log('Listening on 9000'))

Keywords

FAQs

Package last updated on 04 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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