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
I like to exactly specify files and directories to be watched so air initializes quickly and does not iterate useless directories. This mostly fine using the include_dir option with a list of to-watch directories, but it's not possible watch files in the root directory without adding the root directory itself.
How about having a include_file option, where one can put single files to watch? E.g.
Useful option to specify individual files to watch. I renamed the
`watchDir` function to `watchPath` because it can also handle single
files fine (`filepath.Walk` emits a single file if passed a file path).
Fixes: air-verse#307
I like to exactly specify files and directories to be watched so
air
initializes quickly and does not iterate useless directories. This mostly fine using theinclude_dir
option with a list of to-watch directories, but it's not possible watch files in the root directory without adding the root directory itself.How about having a
include_file
option, where one can put single files to watch? E.g.The text was updated successfully, but these errors were encountered: