https://github.com/darkpurple141/auto-file-watch
Looks at a target directory in a git repository and auto pushes small changes.
https://github.com/darkpurple141/auto-file-watch
Last synced: 7 months ago
JSON representation
Looks at a target directory in a git repository and auto pushes small changes.
- Host: GitHub
- URL: https://github.com/darkpurple141/auto-file-watch
- Owner: DarkPurple141
- License: gpl-3.0
- Created: 2018-03-19T01:29:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-19T02:21:56.000Z (over 7 years ago)
- Last Synced: 2025-01-18T05:09:01.918Z (9 months ago)
- Language: Shell
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quickstart
## Usage
Calls the watcher to run every second on folder structure specified by PATH.
```bash
./watcher.sh [PATH] [UPDATE_INTERVAL] ./git_push.sh
```## Example
```bash
# webapp file structure
-base
--js
--css
--templates
``````bash
# One possibility would be to run with three differnet background workers
./watcher.sh base/js 10 ./git_push.sh &
./watcher.sh base/css 10 ./git_push.sh &
./watcher.sh base/templates 10 ./git_push.sh &
```