An open API service indexing awesome lists of open source software.

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.

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 &
```