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

This commit is contained in:
Oliver Eyton-Williams
2023-03-16 02:28:35 +01:00
committed by GitHub
parent 16f3243146
commit a2d8905375

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)
];
}