         site.run(plugins: plugins, completionHandler: completionHandler)
     }
 
-    public func build(completionHandler: @escaping BuildCompletionHandler) {
+    public func build(shouldClean: Bool = true, completionHandler: @escaping BuildCompletionHandler) {
         process { previousError, site in
             guard previousError == nil else {
                 completionHandler(previousError, site)

        }
    }

    func cleanIfNeeded() throws {
        if shouldCleanBeforeBuild {
            try absoluteDestination.delete()
        }
    }
}

    public var metadata = Metadata()

    public var parsesFrontmatter = true

    public var ignoreFilters = [IgnoreFilter]()

