easy-server-dev

2.4.0 • Public • Published

EasyServer-Dev

Really lightweight wrapper around express to help you make a neat app from day one.

Important

This is dev version of easy-server that hot-reloads controllers when they change. It's not meant to be used in production environment.

Options are identical to easy-server, so you can check the documentation here.

To use, just swap easy-server with easy-server-dev when needed.

var EasyServer = require('easy-server');
if (process.env.HOT) {
  EasyServer = require('easy-server-dev');
}

var app = new EasyServer({
  // ...
});

Readme

Keywords

none

Package Sidebar

Install

npm i easy-server-dev

Weekly Downloads

33

Version

2.4.0

License

ISC

Unpacked Size

21.1 kB

Total Files

23

Last publish

Collaborators

  • gileze33
  • louy