fix: after fixing syntax errors in editor for JS/React lessons, log/preview doesn't work.

This commit is contained in:
ValeraS
2018-07-04 16:38:42 +03:00
committed by Mrugesh Mohapatra
parent 1b173bc97c
commit ae02b0a885
4 changed files with 6 additions and 11 deletions

View File

@@ -50,7 +50,6 @@ function updateMainEpic(actions, { getState }, { document }) {
const buildAndFrameMain = actions.pipe(
ofType(
types.updateFile,
types.executeChallenge,
types.challengeMounted
),
debounceTime(executeDebounceTimeout),
@@ -58,6 +57,7 @@ function updateMainEpic(actions, { getState }, { document }) {
buildFromFiles(getState(), true).pipe(
map(frameMain),
ignoreElements(),
startWith(initConsole('')),
catchError(err => of(disableJSOnError(err)))
)
)