@@ -53,6 +53,7 @@ use mago_prelude::Prelude;
5353
5454use crate :: commands:: args:: baseline_reporting:: BaselineReportingArgs ;
5555use crate :: config:: Configuration ;
56+ use crate :: consts:: ISSUE_URL ;
5657use crate :: consts:: PRELUDE_BYTES ;
5758use crate :: error:: Error ;
5859use crate :: utils:: create_orchestrator;
@@ -104,7 +105,7 @@ pub struct AnalyzeCommand {
104105 #[ arg( long, default_value_t = false ) ]
105106 pub no_stubs : bool ,
106107
107- /// Enable watch mode for continuous analysis.
108+ /// Enable watch mode for continuous analysis (experimental) .
108109 ///
109110 /// When enabled, the analyzer watches the workspace for file changes and
110111 /// automatically re-runs analysis whenever PHP files are modified,
@@ -244,6 +245,9 @@ impl AnalyzeCommand {
244245 metadata : CodebaseMetadata ,
245246 symbol_references : SymbolReferences ,
246247 ) -> Result < ExitCode , Error > {
248+ tracing:: warn!( "Watch mode is an experimental feature and may be unstable." ) ;
249+ tracing:: warn!( "If you encounter issues, please report them at {}" , ISSUE_URL ) ;
250+
247251 tracing:: info!( "Starting watch mode. Press Ctrl+C to stop." ) ;
248252
249253 let database = orchestrator. load_database ( & configuration. source . workspace , true , Some ( prelude_database) ) ?;
0 commit comments