ninwa/ninwa.js

13 lines
330 B
JavaScript
Raw Normal View History

2022-02-15 04:33:19 +01:00
const watchers = require('./libs/watchers.js');
const logger = require('./libs/logger.js');
const packageJSON = require('./package.json');
logger.info(packageJSON.name + ' ' + packageJSON.version);
watchers.initialize()
.then(watchers.start)
.catch((err) => {
logger.error(err);
process.exit(1);
});