{"id":28723629,"url":"https://github.com/davea/watch","last_synced_at":"2025-09-11T16:46:51.795Z","repository":{"id":10987501,"uuid":"13307431","full_name":"davea/watch","owner":"davea","description":"Refreshes your browser when source files change during local development.","archived":false,"fork":false,"pushed_at":"2017-07-19T16:29:42.000Z","size":6,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T09:14:07.325Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-03T19:21:23.000Z","updated_at":"2017-07-19T16:29:43.000Z","dependencies_parsed_at":"2022-07-21T16:02:25.705Z","dependency_job_id":null,"html_url":"https://github.com/davea/watch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davea/watch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davea%2Fwatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davea%2Fwatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davea%2Fwatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davea%2Fwatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davea","download_url":"https://codeload.github.com/davea/watch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davea%2Fwatch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274672613,"owners_count":25328548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-15T09:14:06.092Z","updated_at":"2025-09-11T16:46:51.780Z","avatar_url":"https://github.com/davea.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"watch\n=====\n\nRefreshes your browser when source files change during local development.\n\nBy default will refresh Chrome, but can refresh Safari too.\n\n##Usage\n\n    usage: watch.py [-b {chrome,safari}] path keyword\n\n    Refresh browser tabs when local files change.\n\n    positional arguments:\n      path                  The directory to watch for changes.\n      keyword               Tabs with this keyword in their URL will be refreshed.\n\n    optional arguments:\n      -b {chrome,safari}, --browser {chrome,safari}\n                            Which browser to refresh.\n\ne.g. to refresh any browser tabs with `localhost` in the URL when a source file in the current directory changes:\n\n    watch.py . localhost\n\n##Requirements\n * OS X\n \n###Installation in a virtualenv with homebrewed Python\nIf you're using a homebrew-installed Python instead of the OS X-provided version, the `ScriptingBridge` module is probably not available.\n\nTo get around this, use the OS X Python when creating the virtualenv (you'll also need to enable access to system packages so `ScriptingBridge` is found):\n\n    mkvirtualenv --system-site-packages --python=/System/Library/Frameworks/Python.framework/Versions/Current/bin/python watch\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavea%2Fwatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavea%2Fwatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavea%2Fwatch/lists"}