Skip to content

Commit

Permalink
fix: enable partial build via option
Browse files Browse the repository at this point in the history
  • Loading branch information
portfolioris committed May 15, 2020
1 parent 025def3 commit 8aaa533
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/lib/buildPatterns.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ module.exports = async (deletePatternDir, patternlab, additionalData) => {

// Flags
patternlab.incrementalBuildsEnabled = !(
patternlab.config.cleanPublic || graphNeedsUpgrade
patternlab.config.cleanPublic ||
graphNeedsUpgrade ||
deletePatternDir
);

//
Expand Down

0 comments on commit 8aaa533

Please sign in to comment.