--- name: local-web-app-dev-loop description: "Use when iterating a local web app UI with browser testing." version: 1.0.0 author: HamaratLabs license: MIT --- # Local Web App Dev Loop Procedure for iterating on a local web app's UI/behavior with real verification, not assumption. Covers Gradio, Flask, FastAPI, or any Python server with a browser-rendered front end. ## When to Use - Building or redesigning a local web app's UI (Gradio, Flask, FastAPI, or similar) and verifying changes with a headless browser. - A visual/behavioral test result seems inconsistent with the code just written (classic symptom: a stale server still on the port). - The user wants to preview a local dev server from another device. - A CSS override isn't applying despite `!important`, or injected `