Support for live reload
Via air package hot reload can be possible on different files such as .go, .tpl, .tmpl, .yaml.
Air package can be installed in many different ways mentioned here: https://github.com/air-verse/air
Best way if you're on go 1.22+
go install github.com/air-verse/air@latest
Or
# binary will be $(go env GOPATH)/bin/air
curl -sSfL https://raw.githubusercontent.com/air-verse/air/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
Please include instructions to use the hot reload feature in the README. Let's try to keep it as simple as possible to run the dev server (ideally a single command)
Added steps to install and run using the Air package. And yes once it's installed on the system, it's just a single-word command air in the desired directory.
$ git clone https://github.com/dicedb/dice
$ cd dice
$ air
Requested changes are completed. Please check @JyotinderSingh thanks for the suggestions.