Created
January 15, 2019 14:13
-
-
Save raghavkarol/015cf5847502d7f9a3543f7530b8d749 to your computer and use it in GitHub Desktop.
reload_active_tab_chrome.as wrapped to use python watchdog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
patterns="$1" | |
url="$2" | |
echo "$(date) start watch reloading for $url on change to $patterns" | |
watchmedo shell-command --patterns "${patterns}" --command "echo \$(date) \$watch_src_path changed; reload_active_tab_chrome.as '$url'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment