validateBuild method
Check if build directory exists and has required files
Implementation
bool validateBuild() {
final buildWebPath = path.join(config.buildDir, config.webDir);
final indexFile = File(path.join(buildWebPath, 'index.html'));
return Directory(buildWebPath).existsSync() && indexFile.existsSync();
}