Skip to content

Instantly share code, notes, and snippets.

@jefflembeck
Created October 12, 2017 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jefflembeck/44bb2424015179de2bc3dbdc29507237 to your computer and use it in GitHub Desktop.
Save jefflembeck/44bb2424015179de2bc3dbdc29507237 to your computer and use it in GitHub Desktop.
Upgrading knork 6 -> 8
* rid of lib/server.js
* create/format lib/settings.js
* add a bin-manage.js
* need to change config..tmpl to use that
* add body parsing middleware (knork's)
@chrisdickinson
Copy link

  • configuration.tmpl run script
  • move the process.on listeners from bin/run-server to bin/manage (or, if you are feeling daring, create a processServer middleware that sets these up when the server starts!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment