Skip to content

Commit

Permalink
Fix live reload not responding to updates. Fixes danielgtaylor#74.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgtaylor committed Dec 17, 2014
1 parent 4b0720b commit fae001c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Unreleased
* Fix live reload no longer working with some configurations
([#74](https://github.com/danielgtaylor/aglio/issues/74))
* Switch to [Remarkable](https://github.com/jonschlinkert/remarkable)
Markdown parser, which is faster and supports the new CommonMark
specification. [GFM](https://help.github.com/articles/github-flavored-markdown/)
Expand Down
4 changes: 1 addition & 3 deletions src/bin.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ exports.run = (argv=parser.argv, done=->) ->
console.log "Socket connected"

# TODO: Watch included files?
watcher = chokidar.watch(argv.i,
persistent: false
)
watcher = chokidar.watch argv.i
watcher.on "change", (path) ->
console.log "Updated " + path
_html = null
Expand Down

0 comments on commit fae001c

Please sign in to comment.