{"id":22974287,"url":"https://github.com/diversen/simple-file-watch","last_synced_at":"2025-08-13T14:33:54.524Z","repository":{"id":57360129,"uuid":"72279088","full_name":"diversen/simple-file-watch","owner":"diversen","description":"Simple nodejs cli command that will watch for changes rescursively in a directory, and execute a command on changes","archived":false,"fork":false,"pushed_at":"2023-02-21T09:46:11.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-11T10:07:52.491Z","etag":null,"topics":["file-wastchers","file-watcher","nodejs","nodejs-cli-command"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/diversen.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":"2016-10-29T10:42:21.000Z","updated_at":"2023-03-17T12:06:46.000Z","dependencies_parsed_at":"2022-09-06T22:23:15.444Z","dependency_job_id":null,"html_url":"https://github.com/diversen/simple-file-watch","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fsimple-file-watch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fsimple-file-watch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fsimple-file-watch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fsimple-file-watch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diversen","download_url":"https://codeload.github.com/diversen/simple-file-watch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229767225,"owners_count":18121044,"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","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":["file-wastchers","file-watcher","nodejs","nodejs-cli-command"],"created_at":"2024-12-15T00:00:32.190Z","updated_at":"2024-12-15T00:01:17.480Z","avatar_url":"https://github.com/diversen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple-file-watch\n\nInstall: \n\n    npm install -g simple-file-watch\n\nSimple nodejs cli command that will watch for changes in a directory or directories, recursively or not,\nand execute a command on changes. The delay set by `--delay` will prevent any\nexecution of the command until the delay has passed. This is useful if the command\nbeing executed alters another file in the directory being watched. Otherwise there will be\nan infinite loop of file changes and executions.\n\nUsage example:\n\n    simple-file-watch --delay=2000 --extension='js' --path='.' --path='test' --command='ls -l' --recursive --silence\n\nFlags:\n\n    --delay=2000 // delay in milliseconds before executing command on file change\n    --extension='js' // only execute command on files with this extension. Default is all files\n    --path='.' // path to watch for changes. Multiple paths are allowed. Default is current directory\n    --command='ls -l' // command to execute on file change  \n    --recursive // watch subdirectories\n    --silence // no output to stdout\n\nIf you run the command without any params, it will watch any file changes in \ncurrent directory, and output the file changed to stdout. \n\nNote: There is max on number of files you can watch. See: \n\nhttp://stackoverflow.com/questions/16748737/grunt-watch-error-waiting-fatal-error-watch-enospc\n\nLicense MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fsimple-file-watch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiversen%2Fsimple-file-watch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fsimple-file-watch/lists"}