old_contents: const watchConfig = require('../node_modules/@ionic/app-scripts/config/watch.config');
  const _ = require('lodash');
  
  console.log('Editing watch for ignoring spec and e2e files');
  
  _.forEach(watchConfig.watchers, (watch) =>{
      if(watch.paths.indexOf('{{SRC}}/**/*.ts') > -1) {
          watch.options = {
              ignored: /(.*(?=\.spec|\.e2e).*?\.ts)/
          };
      }
  });
  
  // console.log(watchConfig.watchers[0]);
  
  module.exports = watchConfig;
  
new_contents: const watchConfig = require('../node_modules/@ionic/app-scripts/config/watch.config');
  const _ = require('lodash');
  
  console.log('Editing watch for ignoring spec and e2e files');
  
  _.forEach(watchConfig.watchers, (watch) => {
      if (watch.paths.indexOf('{{SRC}}/**/*.(ts|html|scss)') > -1) {
          watch.options.ignored.push('**/*.e2e.ts');
      }
  });
  
  // console.log(watchConfig.watchers[0]);
  
  module.exports = watchConfig;
  
subject: fix watch task to support the current app-scripts