Skip to content

Commit

Permalink
fix(bundler): fix missing json watch
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed May 2, 2019
1 parent afcd2a5 commit 2f5f0cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion skeleton/cli-bundler/aurelia_project/tasks/watch.ext
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import * as project from '../aurelia.json';
import transpile from './transpile';
import processMarkup from './process-markup';
import processCSS from './process-css';
import processJson from './process-json';
import copyFiles from './copy-files';
import { build } from 'aurelia-cli';

Expand All @@ -25,7 +26,8 @@ let watchCallback = () => { };
let watches = [
{ name: 'transpile', callback: transpile, source: project.transpiler.source },
{ name: 'markup', callback: processMarkup, source: project.markupProcessor.source },
{ name: 'CSS', callback: processCSS, source: project.cssProcessor.source }
{ name: 'CSS', callback: processCSS, source: project.cssProcessor.source },
{ name: 'JSON', callback: processJson, source: project.jsonProcessor.source }
];

if (typeof project.build.copyFiles === 'object') {
Expand Down

0 comments on commit 2f5f0cd

Please sign in to comment.