Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 720 Bytes

File metadata and controls

16 lines (9 loc) · 720 Bytes

Go and htmx starter project with hot-reloader and module-bundler

This is a starter project for Go and htmx. It supports hot-reloading for Go, HTML, CSS and Javascript files. It also bundles js files.

Installation

This project makes use of ParcelJS and Air for hot-reload and module-bundles. Please install them as per the instructions given on their page.

Clone this repo on your local machine.

Run "yarn install" to install dependencies.

Run "yarn watch" to watch changes in JS and CSS files.

Run "air" command in a separate terminal to watch changes in Go files.

Now, website should be running live at "http://localhost:3000".