Skip to content

Commit 87cfb34

Browse files
committed
Remove .ml(i) support in rescript_bsb.js
1 parent 3a11d60 commit 87cfb34

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cli/rescript_bsb.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,7 @@ Please pick a different one using the \`-ws [host:]port\` flag from bsb.`);
322322
if (!fileName) return true;
323323

324324
return (
325-
((fileName.endsWith(".res") ||
326-
fileName.endsWith(".resi") ||
327-
fileName.endsWith(".ml") ||
328-
fileName.endsWith(".mli")) &&
325+
((fileName.endsWith(".res") || fileName.endsWith(".resi")) &&
329326
!watchGenerated.includes(fileName)) ||
330327
fileName === resConfig
331328
);

0 commit comments

Comments
 (0)