<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/live-reloading-in-golang-using-air-lcbh6nnxl" -->

---
title: Live Reloading in Golang using Air | daily.dev
description: Air is a live reloading tool for Go applications that watches for codebase changes and automatically rebuilds the app. Setup involves installing Air via `go...
canonical: https://daily.dev/posts/live-reloading-in-golang-using-air-lcbh6nnxl
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Live Reloading in Golang using Air | daily.dev
og:description: Air is a live reloading tool for Go applications that watches for codebase changes and automatically rebuilds the app. Setup involves installing Air via `go...
og:url: https://daily.dev/posts/live-reloading-in-golang-using-air-lcbh6nnxl
og:image: https://api.daily.dev/og/posts/Lcbh6NnXL.png
og:image:alt: Live Reloading in Golang using Air
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Live Reloading in Golang using Air

**[Playful Programming](https://daily.dev/sources/playfulprogramming)** · [@mainawycliffe](https://daily.dev/mainawycliffe) · 4 min read · 0 upvotes · 0 comments

## Summary

Air is a live reloading tool for Go applications that watches for codebase changes and automatically rebuilds the app. Setup involves installing Air via `go install`, running `air init` to generate an `air.toml` config file, and then running `air` to start the app. Key configuration options include the build command, watched directories and file extensions, and exclusion patterns for directories and files like test files.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://playfulprogramming.com/posts/live-reloading-in-golang-using-air-1lho>

## Similar posts on daily.dev

- [GoLand 2025.3 Is Out\!](https://daily.dev/posts/goland-2025-3-is-out--ofdxe5zft) · JetBrains · 36 upvotes · 0 comments
- [GitHub - jrswab/axe: A ligthweight cli for running single-purpose AI agents. Define focused agents in TOML, trigger them from anywhere; pipes, git hooks, cron, or the terminal.](https://daily.dev/posts/github---jrswab-axe-a-ligthweight-cli-for-running-single-purpose-ai-agents-define-focused-agents-i-pbn2evt9s) · Hacker News · 1 upvotes · 0 comments
- [Moving Your Codebase to Go 1.26 With GoLand Syntax Updates](https://daily.dev/posts/moving-your-codebase-to-go-1-26-with-goland-syntax-updates-cldjj6kc4) · JetBrains · 1 upvotes · 0 comments

---

Tags: [#golang](https://daily.dev/tags/golang)

[View this post on daily.dev](https://daily.dev/posts/live-reloading-in-golang-using-air-lcbh6nnxl)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Live Reloading in Golang using Air","url":"https://daily.dev/posts/live-reloading-in-golang-using-air-lcbh6nnxl","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/live-reloading-in-golang-using-air-lcbh6nnxl"},"datePublished":"2026-03-16T21:48:35.416Z","dateModified":"2026-03-17T18:00:21.318Z","description":"Air is a live reloading tool for Go applications that watches for codebase changes and automatically rebuilds the app. Setup involves installing Air via `go...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7a2bcc2662e884281e705aa7d4adad80?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7a2bcc2662e884281e705aa7d4adad80?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Playful Programming","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Maina Wycliffe","url":"https://daily.dev/mainawycliffe","image":"https://lh3.googleusercontent.com/a-/AOh14GixkCfcFRGynHA6Q1do3acrQ2SJInlspCdn2KXZWw=s100","description":"Web Developer and Google Developer Expert","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":50}},"commentCount":0,"discussionUrl":"https://daily.dev/posts/live-reloading-in-golang-using-air-lcbh6nnxl","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"golang","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Playful Programming","item":"https://daily.dev/sources/playfulprogramming"},{"@type":"ListItem","position":3,"name":"Live Reloading in Golang using Air"}]}
```

