Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear build folder on export and publish #2488

Merged
merged 3 commits into from
Jan 30, 2020

Conversation

canstudios-nicolaw
Copy link
Contributor

@canstudios-nicolaw canstudios-nicolaw commented Jan 9, 2020

Fixes #2235 & #2442.

@canstudios-nicolaw canstudios-nicolaw added T: bug S: awaiting-review Completed issues waiting on reviews labels Jan 9, 2020
@canstudios-nicolaw canstudios-nicolaw self-assigned this Jan 9, 2020
@tomgreenfield
Copy link
Contributor

Yet to give this a test but does/can this happen on a 'force rebuild' preview as well?

@canstudios-nicolaw
Copy link
Contributor Author

You're right @tomgreenfield it does happen on preview (force or regular) as well.

In fact I can't think of a situation in which we wouldn't want the build folder to be emptied. What do you think of moving that line out of the if statement? (Or just having this as it's own waterfall step?)

@tomgreenfield
Copy link
Contributor

Not really sure about the normal, 'non-rebuild' preview - might be easier to leave that process untouched.

Copy link
Contributor

@tomgreenfield tomgreenfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me.

plugins/output/adapt/publish.js Outdated Show resolved Hide resolved
@canstudios-nicolaw
Copy link
Contributor Author

@tomgreenfield I think it would be worth you approving again since I've committed since the last approval

@tomgreenfield tomgreenfield merged commit 1c3122a into adaptlearning:release/bugpatch Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: awaiting-review Completed issues waiting on reviews T: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants