feat: keep log when toggling challenge preview (#49724)

pull/49655/head
Oliver Eyton-Williams 2023-03-16 02:28:35 +01:00 committed by GitHub
parent 16f3243146
commit a2d8905375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions

View File

@ -283,14 +283,12 @@ export function createExecuteChallengeSaga(types) {
return [
takeLatest(types.executeChallenge, executeCancellableChallengeSaga),
takeLatest(
[
types.updateFile,
types.previewMounted,
types.challengeMounted,
types.resetChallenge
],
[types.updateFile, types.challengeMounted, types.resetChallenge],
previewChallengeSaga
),
takeLatest(types.previewMounted, previewChallengeSaga, {
flushLogs: false
}),
takeLatest(types.projectPreviewMounted, previewProjectSolutionSaga)
];
}