You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project I'm working on has important files two folders back from where the main.go file is, so it would be nice to have something like -include-dir="../../core" to be able to monitor any changes on these files as well, since we work with them a lot.
The text was updated successfully, but these errors were encountered:
I've tried another workaround using a folder symlink, but as i saw later in the docs filepath.WalkDir does not follow symbolic links. By the way, if someone is interested in setting -directory= to a folder symlink, it will work as expected.
At the moment, I solved my problem with nodemon (requires node.js & npm):
#!/bin/bash
nodemon \
-e go \
--watch . \
--watch "../../core" \
--exec "go run ."
The project I'm working on has important files two folders back from where the main.go file is, so it would be nice to have something like
-include-dir="../../core"
to be able to monitor any changes on these files as well, since we work with them a lot.The text was updated successfully, but these errors were encountered: