I have a script in .restart
file and I'd like to run it on save in WebStorm. I'm trying to use file watcher for that but all the time I'm getting error:
/bin/zsh $HOME$/.restart
/bin/zsh: can't open input file: $HOME$/.restart
My configuration of FileWatcher:
Program: zsh
Arguments: $HOME$/.restart
I tried many different combinations of slashes and variables both from WebStorm and global env variables. Non of them seems to work.
What am I missing here?