| 123456789101112131415161718 |
- var watch = require('../dist/watch');
- var copy = require('../dist/copy');
- var copyConfig = require('./copy.config');
-
- // this is a custom dictionary to make it easy to extend/override
- // provide a name for an entry, it can be anything such as 'srcFiles' or 'copyConfig'
- // then provide an object with the paths, options, and callback fields populated per the Chokidar docs
- // https://www.npmjs.com/package/chokidar
-
- module.exports = {
- srcFiles: {
- paths: ['{{SRC}}/**/*.(ts|html|s(c|a)ss)'],
- options: { ignored: ['{{SRC}}/**/*.spec.ts', '{{SRC}}/**/*.e2e.ts', '**/*.DS_Store', '{{SRC}}/index.html'] },
- callback: watch.buildUpdate
- },
- copyConfig: copy.copyConfigToWatchConfig()
- };
|