- Introduce an error to test code (say a line that has no semicolon).
- Run the app
- Reloading the app fails.
The lines below cause this to happen:
|
if (hasErrors(app.getProject(), app.getModule(), editor.getDocument())) { |
|
handlingSave.set(false); |
|
|
|
showAnalysisNotification("Reload not performed", "Analysis issues found", true); |
|
|
|
return; |
|
} |
I'm looking into removing those and letting the flutter daemon tell us if it's safe to reload the app. The parent to this issue is flutter/flutter#27618