1 |
|
2 | ;
|
3 |
|
4 | const apeWatching = require('ape-watching');
|
5 |
|
6 | const watchers = apeWatching.watchFiles([
|
7 | 'src/javascripts/**/*.js',
|
8 | 'assets/javascripts/**/*.js'
|
9 | ], (ev, filename) => {
|
10 | /*...*/
|
11 | });
|
12 |
|
13 |
|
14 | setTimeout(() => {
|
15 | watchers.forEach((watcher) => {
|
16 | watcher.close(); // Stop watching
|
17 | });
|
18 | }, 1000); |
\ | No newline at end of file |