Productivity
Here is some quick aliases to run V without Docker Compose prefixes.
bash
# ~/.bash_aliases
alias v="docker compose run --rm v"
alias vs="docker compose run --rm --service-ports v"
bash
# ~/.zshrc
alias v="docker compose run --rm v"
alias vs="docker compose run --rm --service-ports v"
Running V in development
V can watch your files when you save. It will recompile your files and let you know of any errors.
bash
v watch run main.v