0.0.7 • Published 2 years ago

git-changelog-listener v0.0.7

Weekly downloads
42
License
-
Repository
github
Last release
2 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

2 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago