apeman-react-range
Version:
apeman react package for range input component.
22 lines (17 loc) • 388 B
JavaScript
/**
* Watch files.
*/
;
process.chdir(__dirname + '/..');
const apeWatching = require('ape-watching'),
childProcess = require('child_process');
let timer = null;
apeWatching.watchFiles([
'lib/**/*.jsx'
], (ev, filename) => {
clearTimeout(timer);
timer = setTimeout(() => {
childProcess.fork('ci/compile.js');
}, 300);
});