npm install swatchercli
swatchercli --help
swatchercli -s -o ./output -p ./src/**
swatchercli -o ./output -p ./src/**
swatchercli -c ./path/to/watcher.config.js
const { Html, Js, Css } = require('any-file-merge');
const ext = '[name].html';
exports.watch = true;
exports.quiet = false;
exports.patterns = [
'./src/components/**'
];
exports.output = './output';
exports.fileName = `${ext}`;
exports.processors = [
new Html(),
new Js(),
new Css()
];
exports.hooks = {
ready: data => console.log(data),
error: data => console.log(data),
change: data => console.log(data),
delete: data => console.log(data),
add: data => console.log(data),
compile: data => console.log(data)
}