News for hackers. Stuff that matters.
Re:Show HN: Go playground powered by WASM that runs in the b... by stonewareslord on Friday September 24, 2021 @01:37AM (#28638971)
I use a script for this. Something like:

    #!/usr/bin/env bash
    {
      find . -name "*.go" -print
      echo package.json
    } | entr bash -c '
    set -euxo pipefail
    clear
    go fmt
    clear
    go build
    :
    '
You can make it fancier like adding cd into "${BASH_SOURCE[0]%/*}", etc

There are no comments on this comment yet.