13 lines
330 B
JavaScript
13 lines
330 B
JavaScript
|
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);
|
||
|
});
|