diff --git a/bin/internal/shared.sh b/bin/internal/shared.sh index 0915a327665..bc28618758d 100644 --- a/bin/internal/shared.sh +++ b/bin/internal/shared.sh @@ -257,7 +257,7 @@ function shared::execute() { flutter-dev) # FLUTTER_TOOL_ARGS aren't quoted below, because it is meant to be # considered as separate space-separated args. - exec "$DART" --packages="$FLUTTER_TOOLS_DIR/.dart_tool/package_config.json" $FLUTTER_TOOL_ARGS "$SCRIPT_PATH" "$@" + exec "$DART" run --resident --packages="$FLUTTER_TOOLS_DIR/.dart_tool/package_config.json" $FLUTTER_TOOL_ARGS "$SCRIPT_PATH" "$@" ;; flutter*) # FLUTTER_TOOL_ARGS aren't quoted below, because it is meant to be