Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bigolu committed Jan 18, 2025
1 parent f980e10 commit a9b1d7f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions direnv/direnv-manual-reload.bash
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@
# How it works:
# - direnv automatically reloads whenever it detects a change in the modification
# time of any of the files on its watch list. To stop it from doing so, this
# script removes all files from the watch list right before the .envrc exits. The
# exceptions to this are the allow/deny files. We keep those files on the watch
# list so `direnv allow/block` still triggers a reload.
# - To give users a way to manually reload direnv, a new file is created and put on
# the watch list, `.direnv/reload`. A command named `direnv-reload` is put on the
# PATH which will change the modification time of that file, causing direnv to
# reload.
# script removes all files from the watch list except the following ones:
# - reload file: To give users a way to manually reload direnv, a new file is
# created and put on the watch list, `.direnv/reload`. A command named
# `direnv-reload` is put on the PATH which will change the modification time
# of that file, causing direnv to reload.
# - allow/deny files: We keep those files on the watch list so
# `direnv allow/block` still triggers a reload.
#
# [1]: https://github.com/nix-community/nix-direnv
# [2]: https://github.com/nix-community/nix-direnv?tab=readme-ov-file#tracked-files
Expand Down

0 comments on commit a9b1d7f

Please sign in to comment.