Skip to content

Commit

Permalink
let cli survive css build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
eanders-ms committed Jan 26, 2024
1 parent 24ef5ef commit 0569411
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cli/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2707,8 +2707,12 @@ async function buildAndWatchTargetAsync(includeSourceMaps: boolean, rebundle: bo
skipFirstCssBuild = false;
} else {
console.log("rebuilding css");
await buildSemanticUIAsync();
console.log("css build complete");
try {
await buildSemanticUIAsync();
console.log("css build complete");
} catch (e) {
console.error("css build failed", e);
}
}
return lessFiles;
};
Expand Down

0 comments on commit 0569411

Please sign in to comment.