I'm using Hazel 4. I have enabled dot files via defaults write com.noodlesoft.Hazel ScanInvisibles -bool YES.
I have a simple rule: If full name is ".bash_profile" then run a bash script and display a notification. If I manually run the folder it works and the log spits out:
- Code: Select all
Marker - Jun 4, 2016, 2:34:44 PM
2016-06-04 14:35:03.873 hazelworker[32490] ###main load address: 0x101b2b000
2016-06-04 14:35:03.873 hazelworker[32490] ###Noodle load address: 0x101c3c000
2016-06-04 14:35:03.874 hazelworker[32490] ###CK load address: 0x101bff000
2016-06-04 14:35:03.896 hazelworker[32490] Processing folder dotfiles (forced)
2016-06-04 14:35:05.903 hazelworker[32490] .bash_profile: Rule Update Bash Profile Gist matched.
2016-06-04 14:35:07.019 hazelworker[32490] Hazel Alert: Bash Gist Updated
2016-06-04 14:35:07.019 hazelworker[32490] [Custom Message] Hazel Alert: Bash Gist Updated
2016-06-04 14:35:09.039 hazelworker[32490] Done processing folder dotfiles
However if I make a change to the file Hazel recognizes this but does not run the rule. It spits out
- Code: Select all
Marker - Jun 4, 2016, 2:35:34 PM
2016-06-04 14:35:51.807 hazelworker[32588] ###main load address: 0x104d7a000
2016-06-04 14:35:51.807 hazelworker[32588] ###Noodle load address: 0x104e85000
2016-06-04 14:35:51.807 hazelworker[32588] ###CK load address: 0x104e4c000
2016-06-04 14:35:51.841 hazelworker[32588] Processing folder dotfiles
2016-06-04 14:35:53.853 hazelworker[32588] Done processing folder dotfiles
So it seems that when I make changes to the file Hazel isn't recognizing that a rule needs to run. Its strange it works when I force a run of the rule though.