Skip to content

Commit

Permalink
Pass commands to a shell and add the changed path to an environment v…
Browse files Browse the repository at this point in the history
…ariable
  • Loading branch information
grego committed Oct 29, 2020
1 parent b18f575 commit 58f4a47
Show file tree
Hide file tree
Showing 8 changed files with 255 additions and 374 deletions.
2 changes: 1 addition & 1 deletion .watch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ name = "print hello"
# Where to look for changes?
path = "src"
# What to execute on change?
command = "echo \"hello world\""
command = "echo \"hello $EVENT_PATH\""

# Repeat this to watch multiple paths
Loading

0 comments on commit 58f4a47

Please sign in to comment.