For AI agents: the complete documentation index is available at https://rsdoctor.rs/llms.txt, the full documentation bundle is available at https://rsdoctor.rs/llms-full.txt, and this page is available as Markdown at https://rsdoctor.rs/config/options/autoOpenBrowser.md.
close
  • English
  • autoOpenBrowser

    • Type: boolean
    • Optional: true
    • Default: true

    Set to false to prevent Rsdoctor from opening the report in a browser after compilation. The report URL is still printed when printLog.serverUrls is enabled; brief mode still prints the report file path. Report generation and the report server are unaffected. To close the report server after analysis, use disableClientServer.

    If you create the plugin programmatically and need the server while inspecting the report, dispose of its SDK after the last page access:

    import { RsdoctorRspackPlugin } from '@rsdoctor/core';
    
    const plugin = new RsdoctorRspackPlugin({
      disableClientServer: false,
      autoOpenBrowser: false,
    });
    
    // After the build and report inspection are complete:
    await plugin.sdk.dispose();

    When running Rsdoctor from a terminal, press Ctrl+C to stop the process and its server.