extend examples

This commit is contained in:
Lloyd Brookes
2016-06-18 10:29:34 +01:00
parent aee47bc599
commit 6298f693cd
8 changed files with 39 additions and 10 deletions

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>live-reload demo</title>
</head>
<body>
<h1>Live reloaded attached</h1>
</body>
</html>

View File

@ -0,0 +1,9 @@
'use strict'
const Cli = require('../../')
const liveReload = require('koa-livereload')
const ws = new Cli()
ws.addLogging('dev')
.add({ middleware: liveReload })
.addStatic()
.start()