lib/compiler-com.js
function isHtmlFileUptodate(source) {
    var dependencies = source.tag("dependencies") || [];
    var i, dep, file, prj = source.prj(),
    stat,
    mtime = source.modificationTime();
    for (i = 0 ; i < dependencies.length ; i++) {
        dep = dependencies[i];
        file = prj.srcOrLibPath(dep);
        if (file) {
            stat = FS.statSync(file);
            if (stat.mtime > mtime) return false;
        }
    }
    return source.isUptodate();
}
function isHtmlFileUptodate(source) {
    var dependencies = source.tag("dependencies") || [];
    var i, dep, file, prj = source.prj(),
    stat,
    mtime = source.modificationTime();
    for (i = 0 ; i < dependencies.length ; i++) {
        dep = dependencies[i];
        file = prj.srcOrLibPath(dep);
        if (file) {
            stat = FS.statSync(file);
            if (stat.mtime > mtime) return false;
        }
    }
    return source.isUptodate();
}
function isHtmlFileUptodate ( source ) { var dependencies = source . tag ( "dependencies" ) || [ ] ; var i , dep , file , prj = source . prj ( ) , stat , mtime = source . modificationTime ( ) ; for ( i = 0 ; i < dependencies . length ; i ++ ) { dep = dependencies [ i ] ; file = prj . srcOrLibPath ( dep ) ; if ( file ) { stat = FS . statSync ( file ) ; if ( stat . mtime > mtime ) return false ; } } return source . isUptodate ( ) ; }
To be uptodate, an HTML page must be more recent that all its dependencies.
To be uptodate an HTML page must be more recent that all its dependencies .