text: /**
   * Copyright (c) 2014-present, San Wei Ju Yuan Tech Ltd. <https://www.3vjuyuan.com>
   * All rights reserved.
   *
   * This file is part of node-dev-tools, licensed under the MIT license (MIT) found
   * in the LICENSE file in the root directory of this source tree.
   *
   * For more details:
   * https://www.3vjuyuan.com/licenses/mit.html
   *
   * @author Team Fancy <fancy@3vjuyuan.com>
   * @author Team Delta <delta@3vjuyuan.com>
   */
  
  'use strict';
  
  module.exports = {
      fn: function (gulp, configuration) {
          gulp.watch(configuration.scripts.path.applicationSrc + '/**/*.js', ['scripts:modernizr']);
          gulp.watch(
              [configuration.styles.path.src.sass + '/**/*.{scss, sass}', configuration.styles.path.src.css + '/**/*.css'],
              ['styles:compile']
          ).on('change', function (event) {
              configuration.onlyCSS = event.path.split('.').pop() == 'css';
          });
      }
  };
  