0.0.7 • Published 3 years ago

git-changelog-listener v0.0.7

Weekly downloads
42
License
-
Repository
github
Last release
3 years ago

Git Changelog Listener

Listen for file changes in your target path Cron-driven changelog listener for git repositories

Options

basePath

Type: String
Default: __dirname

Set the git repository directory of where to run the listener.

interval

Type: Number
Default: 1000

(Optional) Set the interval of how often to check for changes.

Example

const Changelog = require('git-changelog-listener');

const listener = new Changelog({
    interval: 1000, // defaults to 1000ms if not defined
    basePath: '/path/to/my/repo' // basePath
});

listener.onChange((info) => {
    console.log('information here >>', info);
});
0.0.7

3 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago