diff --git a/package.json b/package.json index 47b2c26..2646c0c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@holidayextras/static-site-generator", - "version": "7.0.1", + "version": "7.0.2", "description": "Holiday Extras Static Site Generator in metalsmith / react", "repository": { "type": "git", diff --git a/src/index.js b/src/index.js index 336b566..127e65a 100644 --- a/src/index.js +++ b/src/index.js @@ -54,6 +54,7 @@ const MetalSmithLoader = (opts) => { metalSmith.build(function (err) { if (err) throw err + if (opts.callback) opts.callback() }) }