public static function updateChangeTime() {

		if (is_dir(Config::getOption("publicDir"))) {
			file_put_contents(Config::getOption("publicDir")."/latest-change.txt",time());
		} else {
			Console::writeError("the public directory for Pattern Lab doesn't exist...");
		}

	}
public static function updateChangeTime() {

		if (is_dir(Config::getOption("publicDir"))) {
			file_put_contents(Config::getOption("publicDir")."/latest-change.txt",time());
		} else {
			Console::writeError("the public directory for Pattern Lab doesn't exist...");
		}

	}
public static function updateChangeTime ( ) { if ( is_dir ( Config :: getOption ( "publicDir" ) ) ) { file_put_contents ( Config :: getOption ( "publicDir" ) . "/latest-change.txt" , time ( ) ) ; } else { Console :: writeError ( "the public directory for Pattern Lab doesn't exist..." ) ; } }
Write out the time tracking file so the content sync service will work. A holdover
from how I put together the original AJAX polling set-up.
Write out the time tracking file so the content sync service will work . A holdover from how I put together the original AJAX polling set - up .