Comments (5)
in my case, ".air" is not exist in go/bin instead "air" without dot.
just update above code to use
alias air='~/go/bin/air'
then its works for me.
from air.
Went through this today. Make sure to add:
export PATH=$PATH:$HOME/go/bin
to your .zshrc file. Then reload your terminal.
This seems to be the destination of go install
files.
from air.
This worked for me.
Edit your .zshrc file:
# hot reload for go servers using air
path+=('~/go/bin')
alias air='~/go/bin/.air'
from air.
in my case, ".air" is not exist in go/bin instead "air" without dot. just update above code to use
alias air='~/go/bin/air'
then its works for me.
this worked for me , thanks.
from air.
in my case, ".air" is not exist in go/bin instead "air" without dot. just update above code to use
alias air='~/go/bin/air'
then its works for me.
this works also for me (macOS M1)
from air.
Related Issues (20)
- 可以监听 docker-compose 挂载的配置文件么?
- 变动构建失败 HOT 1
- 支持多个可执行文件 HOT 1
- Make pre_cmd background forkable HOT 3
- building memos not use docker in windows10
- i want to install the imported packages with air reloading
- Air always assumes that there is binary build target HOT 2
- zsh: permission denied:
- Hide logo or show custom text
- post_cmd on Windows with paths with spaces doesn't seem to work HOT 1
- pre_cmd fails HOT 3
- Hot Reload Not Working on Rancher Desktop
- Hot Reload not working for changes on main.go HOT 2
- Add Homebrew formula
- Air doesn't seem to be working when there's whitespace in the path.
- Disable tmp directory
- panic: unaligned 64-bit atomic operation in windows HOT 1
- panic when shutting down with SIGINT signal if proxy is enabled HOT 7
- bug: live reload do not work for tmpl files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from air.