plugins/watcher/watcher.js
function saveNewVersion(version, versionFile) {
    fs.writeFileSync(versionFile, JSON.stringify({
        version
    }, null, 2), 'UTF-8');
}
function saveNewVersion(version, versionFile) {
    fs.writeFileSync(versionFile, JSON.stringify({
        version
    }, null, 2), 'UTF-8');
}
function saveNewVersion ( version , versionFile ) { fs . writeFileSync ( versionFile , JSON . stringify ( { version } , null , 2 ) , 'UTF-8' ) ; }
Saves version hash to the version file.
@param {string} version
@param {string} versionFile
Saves version hash to the version file .