2 Commits

Author SHA1 Message Date
Muhsin Keloth
b49359698a fix(dev): keep tunnel vite watcher running (#15539)
Starting the tunnel workflow could immediately stop Rails and Sidekiq
when Vite Ruby found the frontend build already up to date. This keeps
the Vite build watcher alive so the Overmind tunnel stack remains
available.

### How to reproduce

1. Ensure the Vite build is already current.
2. Run `make force_run_tunnel`.
3. Observe Vite skip the build and exit, which causes Overmind to stop
the remaining processes.

### Things to know

The `--force` option is handled by Vite Ruby to bypass its freshness
check. Vite still runs in build watch mode, so no development server
port is exposed.

### How to test

1. Run `make force_run_tunnel` with an existing frontend build.
2. Confirm Vite completes the build and continues watching for changes.
3. Open the configured tunnel URL and confirm the Chatwoot login page
renders while Rails and Sidekiq remain running.

Co-authored-by: Muhsin <12408980+muhsin-k@users.noreply.github.com>
2026-08-20 19:02:07 +05:30
Sojan Jose
b70d2c0ebe chore: Improvements for codespace (#11667)
- move to vite build instead of dev for codespaces
- disable miniprofiler
2025-06-04 00:21:23 -05:00