mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
16 lines
523 B
JavaScript
16 lines
523 B
JavaScript
var path = require('path');
|
|
|
|
var watch = require('../../node_modules/@ionic/app-scripts/dist/watch');
|
|
|
|
var entryPointDirectory = path.dirname(process.env.IONIC_APP_ENTRY_POINT)
|
|
|
|
module.exports = {
|
|
demoSrc: {
|
|
paths: [path.join(entryPointDirectory, '..', '**', '*.(ts|html|s(c|a)ss)')],
|
|
options: { ignored: [path.join(entryPointDirectory, '..', '**', '*.spec.ts'),
|
|
path.join(entryPointDirectory, '..', '**', '*.e2e.ts'),
|
|
'**/*.DS_Store'] },
|
|
callback: watch.buildUpdate
|
|
}
|
|
}
|