From be46f8851ae5e05c7b3b967c6cf47aeca6d8b24b Mon Sep 17 00:00:00 2001 From: Tim Hall Date: Mon, 21 Mar 2016 11:00:58 -0400 Subject: [PATCH] Move reload callback outside of apps loop --- src/index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.coffee b/src/index.coffee index 47713aa..2f6546f 100644 --- a/src/index.coffee +++ b/src/index.coffee @@ -147,7 +147,7 @@ module.exports = if app.livereload and typeof lr == "object" lr.changed body: files: file.path - callback null, file + callback null, file lr: lr serverClose: -> apps.forEach((app) -> do app.server.close)