air-verse/air ? reverse-engineered prompt
Reverse engineered prompt
Build me a Go command line tool for local development that watches my project files and automatically rebuilds and restarts my app when I save changes. I want it to be easy to run from the root of a Go project, with a simple default setup, and an option to generate a config file I can edit for my own build and run commands.
Please make it support things like ignoring folders, loading env files, passing extra arguments through to the app, and showing clear colorful logs so I can see what is happening. It should also work well in Docker, and be easy to install or run from source. If there are a few different ways people usually configure this kind of tool, include sensible defaults and make it straightforward to override them from the command line.
If you need to check current Go docs or best practices while building it, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit