Compare commits

...

2 Commits

Author SHA1 Message Date
Rich Harris
4315a46ff2 -> v0.16.1 2018-08-19 18:55:41 -04:00
Rich Harris
0fb5827968 fix file watching 2018-08-19 18:55:09 -04:00
3 changed files with 7 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
# sapper changelog
## 0.16.1
* Fix file watching regression in previous version
## 0.16.0
* Slim down installed package ([#363](https://github.com/sveltejs/sapper/pull/363))

View File

@@ -1,6 +1,6 @@
{
"name": "sapper",
"version": "0.16.0",
"version": "0.16.1",
"description": "Military-grade apps, engineered by Svelte",
"main": "dist/middleware.ts.js",
"bin": {

View File

@@ -455,8 +455,9 @@ function noop() {}
function watch_files(pattern: string, events: string[], callback: () => void) {
let watcher;
let closed = false;
import('chokidar').then(({ default: chokidar }) => {
import('chokidar').then((chokidar) => {
if (closed) return;
watcher = chokidar.watch(pattern, {