Skip to content

refactor(run): migrate watch mode to run sessions #723

Description

@GaspardKirira

Summary

Replace the current watch loops with the structured run-session lifecycle.

Requirements

  • Use engine-provided watch inputs.
  • Batch filesystem changes.
  • Request affected target rebuilds.
  • Keep the current process during failed builds.
  • Restart after successful builds.
  • Emit structured lifecycle events.
  • Remove direct spinner calls from watch logic.

Acceptance criteria

  • Script watch mode uses run sessions.
  • Project watch mode uses run sessions.
  • Successful rebuilds restart the application.
  • Failed rebuilds preserve the current process.
  • Watch logic does not render terminal output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    migrationVix issue classificationscope:engineVix Engine issue classificationscope:runVix issue classificationtype:refactorRefactor without behavior changewatchFile watching, hot-reload, or live execution features (watch mode, auto-rerun, dev loops).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions