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 4b9dbf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/lib/buildPatterns.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module.exports = async (deletePatternDir, patternlab, additionalData) => {

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

//
Expand Down

0 comments on commit 4b9dbf9

Please sign in to comment.