Unverified Commit 3e8f470e authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Ensure traces are flushed in development when there is an error (#29149)

parent 16a737d9
...@@ -72,14 +72,15 @@ store.subscribe((state) => { ...@@ -72,14 +72,15 @@ store.subscribe((state) => {
} }
} }
// Ensure traces are flushed after each compile in development mode
flushAllTraces()
return return
} }
if (state.warnings) { if (state.warnings) {
Log.warn(state.warnings.join('\n\n')) Log.warn(state.warnings.join('\n\n'))
if (state.appUrl) { // Ensure traces are flushed after each compile in development mode
Log.info(`ready on ${state.appUrl}`) flushAllTraces()
}
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment