{"id":20560338,"url":"https://github.com/andreaskoch/go-fswatcher","last_synced_at":"2026-04-20T02:34:38.450Z","repository":{"id":9864225,"uuid":"11862227","full_name":"andreaskoch/go-fswatcher","owner":"andreaskoch","description":"fswatcher is a cross platform filesystem watcher which allows you to execute a custom command every time a file or folder changes","archived":false,"fork":false,"pushed_at":"2015-11-22T20:24:22.000Z","size":18,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2026-01-26T13:45:12.959Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreaskoch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-03T11:32:55.000Z","updated_at":"2025-11-13T02:00:36.000Z","dependencies_parsed_at":"2022-08-25T17:21:43.396Z","dependency_job_id":null,"html_url":"https://github.com/andreaskoch/go-fswatcher","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/andreaskoch/go-fswatcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaskoch%2Fgo-fswatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaskoch%2Fgo-fswatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaskoch%2Fgo-fswatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaskoch%2Fgo-fswatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreaskoch","download_url":"https://codeload.github.com/andreaskoch/go-fswatcher/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaskoch%2Fgo-fswatcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32030176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":"2024-11-16T03:54:16.895Z","updated_at":"2026-04-20T02:34:38.430Z","avatar_url":"https://github.com/andreaskoch.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-fswatcher\n\nWatch a file or folder for changes and execute a custom command.\n\n## Usage\n\n### Watch a file for changes\n\n```bash\ngo-fswatcher -path some-file.txt -command \"some-command\"\n```\n\n### Watch a folder for changes\n\n```bash\ngo-fswatcher -path some-folder -command \"some-command\"\n```\n\nIf you want to watch for changes recursivly you can add the `recurse` option:\n\n```bash\ngo-fswatcher -path some-folder -recurse -command \"some-command\"\n```\n\n## Examples\n\n### Using go-fswatcher to autobuild your go applications\n\nBuild your go application everytime a file changes in your package directory.\n\n```bash\ngo-fswatcher -path $GOPATH/src/github.com/andreaskoch/allmark -recurse -command \"go install\"\n```\n\n## Build Status\n\n[![Build Status](https://travis-ci.org/andreaskoch/go-fswatcher.png?branch=master)](https://travis-ci.org/andreaskoch/go-fswatcher)\n\n## Dependencies\n\n- [github.com/andreaskoch/go-fswatch](https://github.com/andreaskoch/go-fswatch) for monitoring the filesystem for changes\n\n## Contribute\n\nIf you have an idea how to make this little tool better please send me a message or a pull request.\n\nAll contributions are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreaskoch%2Fgo-fswatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreaskoch%2Fgo-fswatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreaskoch%2Fgo-fswatcher/lists"}