Skip to content

Commit

Permalink
tests and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickarlt committed Jan 7, 2016
1 parent 5305f2a commit fd0bdd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Expand Up @@ -5,15 +5,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).

[Upcoming Changes](https://github.com/patrickarlt/acetate/compare/v0.4.0...master)

## [0.4.1] - 2016-01-07
## [0.4.2] - 2016-01-07

### Changed

* Pages are now always rebuilt every time they are requested when in server mode.
* Server startup is now much faster, as all pages are considered "clean" when the server starts and are rebuilt when requested.
* Small tweaks to logging and log output.


### Fixed

* Fixed memory link when watching data files.
Expand Down Expand Up @@ -148,3 +147,4 @@ This project adheres to [Semantic Versioning](http://semver.org/).
[0.3.1]: https://github.com/patrickarlt/acetate/compare/v0.3.0...v0.3.1
[0.4.0]: https://github.com/patrickarlt/acetate/compare/v0.3.1...v0.4.0
[0.4.1]: https://github.com/patrickarlt/acetate/compare/v0.4.0...v0.4.1
[0.4.2]: https://github.com/patrickarlt/acetate/compare/v0.4.1...v0.4.2
3 changes: 1 addition & 2 deletions index.js
Expand Up @@ -74,7 +74,6 @@ module.exports = function (options, callback) {
page.dirty = true;
site.runExtensions(function () {
page.build(function () {
builtPages[pathname] = true;
next();
return;
});
Expand Down Expand Up @@ -186,7 +185,7 @@ module.exports = function (options, callback) {
if (path.basename(filepath)[0] === '_') {
invalidateNunjucksCache(filepath);

if(site.options.mode !== 'server') {
if (site.options.mode !== 'server') {
_.each(site.pages, function (page) {
page.dirty();
});
Expand Down

0 comments on commit fd0bdd4

Please sign in to comment.