-
-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exclude_dir/include_dir
: Being below root
dir
#396
Comments
edit your
|
@makiuchi-d Thank you for your fast response. Can't we have |
@Dragomir-Ivanov Sorry, I answered too quickly.
Or do |
@makiuchi-d Your answer was fine, I understood what you mean.
Trying to build with your advice from
Which is the case, as I am using Go modules outside GOROOT.
Where Building from |
|
So Would you like a PR to the documentation for this specific case? |
I just ran into the same(?) problem. I have multiple services that are all inside So, from what I read here, there is no way to include other directories than ones below the folder of the directory where I start Air? This is actually hard to believe, as this would be an integral part of such a tool in my eyes. In fact, I use mage and configure testing for changed files all over my hard-drive and wanted to save some time using Air instead. |
Put Alternatively, please try arelo, a command line auto-reload tool:
You can simply add the watching target directory by the -t option. |
@makiuchi-d Thank you. I also started to extend my own tool based on some code I wrote in the past, that actually gathers all the sources of a go module and the packages it uses, like the compiler does. This will be part of a tool that also checks for |
Greetings,
I have the following project structure, which is common among Go projects:
The issue is that I cannot setup
air
to watch over thepkg/
.I start
air
from within eachexecutable1/2
directories, so air doesn't want to go outside them.What is the reason
air
works the way it does, and is anything we can do about it?Thank you!
The text was updated successfully, but these errors were encountered: