Run ReScript in dev mode:
npm run res:devIn another tab, run the Vite dev server:
npm run devRun tests (in a separate tab):
npm test
# or
npm run test:watchMake sure to create interface files (.resi) for each *.res file.
Fast Refresh requires you to only export React components, and it's easy to unintentionally export other values that will disable Fast Refresh (you will see a message in the browser console whenever this happens).