index.js
function refresh(file, event, full) {
      views.forEach(function loopViews(path) {
        if (path !== full) return;

        tempers.forEach(function eachTemper(temper) {
          delete temper.file[path];
          delete temper.compiled[path];

          temper.prefetch(path);
        });
      });

      assets.forEach(function loopAssets(path) {
        if (path !== full) return;

        bigpipe.compiler.put(path);
      });

      bigpipe.emit('change', file, event, full);
      console.log([
        '[watch] detected content changes --'.blue,
        file.white,
        'changed'.white
      ].join(' '));
    }
function refresh(file, event, full) {
      views.forEach(function loopViews(path) {
        if (path !== full) return;

        tempers.forEach(function eachTemper(temper) {
          delete temper.file[path];
          delete temper.compiled[path];

          temper.prefetch(path);
        });
      });

      assets.forEach(function loopAssets(path) {
        if (path !== full) return;

        bigpipe.compiler.put(path);
      });

      bigpipe.emit('change', file, event, full);
      console.log([
        '[watch] detected content changes --'.blue,
        file.white,
        'changed'.white
      ].join(' '));
    }
function refresh ( file , event , full ) { views . forEach ( function loopViews ( path ) { if ( path !== full ) return ; tempers . forEach ( function eachTemper ( temper ) { delete temper . file [ path ] ; delete temper . compiled [ path ] ; temper . prefetch ( path ) ; } ) ; } ) ; assets . forEach ( function loopAssets ( path ) { if ( path !== full ) return ; bigpipe . compiler . put ( path ) ; } ) ; bigpipe . emit ( 'change' , file , event , full ) ; console . log ( [ '[watch] detected content changes --' . blue , file . white , 'changed' . white ] . join ( ' ' ) ) ; }
Check cache and prefetch if the file is part of the compiler.

@param {String} file name
@api private
Check cache and prefetch if the file is part of the compiler .