Skip to content

Commit

Permalink
v6.58.1. Bugfix.
Browse files Browse the repository at this point in the history
- v6.58.1 December 17, 2013
	- Output of change detections is now an `info` log level, instead of
`debug`, allowing you to see what is going on by default
	- Fixed regenerations triggered by changed files not working
(regression since v6.58.0)
		- Thanks to [Fryderyk Dziarmagowski](https://github.com/freddix),
[Anton Poleshchuk](https://github.com/apoleshchuk), [Eduán
Lávaque](https://github.com/Greduan) for [issue
#738](#738)
  • Loading branch information
balupton committed Dec 17, 2013
1 parent 5e90e15 commit 60f7cc1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions HISTORY.md
@@ -1,5 +1,10 @@
# History

- v6.58.1 December 17, 2013
- Output of change detections is now an `info` log level, instead of `debug`, allowing you to see what is going on by default
- Fixed regenerations triggered by changed files not working (regression since v6.58.0)
- Thanks to [Fryderyk Dziarmagowski](https://github.com/freddix), [Anton Poleshchuk](https://github.com/apoleshchuk), [Eduán Lávaque](https://github.com/Greduan) for [issue #738](https://github.com/bevry/docpad/issues/738)

- v6.58.0 December 16, 2013
- Deprecated and removed the `parseBefore` and `parseAfter` events
- Files are now parsed as they are loaded in, rather than only when they reach the generation cycle
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"title": "DocPad. Streamlined web development.",
"name": "docpad",
"version": "6.58.0",
"version": "6.58.1",
"description": "DocPad is a next generation web architecture that lets you create fast static websites with dynamic abilities and powerful abstractions. Write your website as files on your computer, entries in a database, or even RSS feeds and DocPad will import it, generate & render it, then output a static website for deployment anywhere or a dynamic node website for advanced server-side functionality. Use it as a module or standalone. It's purely awesome. Check it out.",
"homepage": "http://docpad.org",
"installUrl": "http://docpad.org/install",
Expand Down
6 changes: 3 additions & 3 deletions src/lib/docpad.coffee
Expand Up @@ -3883,7 +3883,7 @@ class DocPad extends EventEmitterGrouped
# Change event handler
changeHandler = (changeType,filePath,fileCurrentStat,filePreviousStat) ->
# Fetch the file
docpad.log 'debug', util.format(locale.watchChange, new Date().toLocaleTimeString()), changeType, filePath
docpad.log 'info', util.format(locale.watchChange, new Date().toLocaleTimeString()), changeType, filePath

# Check if we are a file we don't care about
# This check should not be needed with v2.3.3 of watchr
Expand Down Expand Up @@ -3915,9 +3915,9 @@ class DocPad extends EventEmitterGrouped
queueRegeneration()

# File is new or was changed, update it's mtime by setting the stat
else if changeType in ['create','update']
else if changeType in ['create', 'update']
file.action 'load', (err) ->
return docpad.error(err) ife rr
return docpad.error(err) if err
queueRegeneration()

# Watch
Expand Down

0 comments on commit 60f7cc1

Please sign in to comment.