I'm trying to look at the exported envvars mentioned in when-changed docs.
However they're always undefined even when adding a call to 'env' as command to when-changed.
How may one properly access those? (from bash/zsh)
Thanks
David
`Environment variables:
WHEN_CHANGED_EVENT: reflects the current event type that occurs.
Could be either: file_created, file_modified, file_moved, file_deleted
WHEN_CHANGED_FILE: provides the full path of the file that has generated the event.
`
Hi,
I'm trying to look at the exported envvars mentioned in when-changed docs. However they're always undefined even when adding a call to 'env' as command to when-changed.
How may one properly access those? (from bash/zsh)
Thanks David
`Environment variables:
WHEN_CHANGED_EVENT: reflects the current event type that occurs. Could be either: file_created, file_modified, file_moved, file_deleted
WHEN_CHANGED_FILE: provides the full path of the file that has generated the event. `