server now created on contruction, before views intantiated.. refactor view API

This commit is contained in:
Lloyd Brookes
2016-07-17 17:05:21 +01:00
parent f11cbee820
commit 9d3484fed6
6 changed files with 119 additions and 92 deletions

View File

@ -1,5 +1,4 @@
#!/usr/bin/env node
'use strict'
const LocalWebServer = require('../')
const ws = new LocalWebServer()
ws.getServer()
new LocalWebServer()