Closed tom-sherman closed 10 months ago
Hey @tom-sherman I tried your repo and watch mode did not enter an infinite loop.
@a-c-sreedhar-reddy what OS? I'm on macOS 11.6
yeah I am also on macOS 11.6
https://user-images.githubusercontent.com/9257001/147350957-f5aaaacd-3a70-4770-8173-987042677a44.mov
Very strange...
Node 16.9.1, npm 7.21.1
Node v14.18.0 npm 6.14.15
Caused by an interaction of generatedFileExtension": ".gen.ts" and the compilers watcher. There was an issue on this already, which has moved to the compiler repo.
This repository is being archived. If you feel like the issue still relevant, please re-create it in the compiler repo. Thanks!
The following module causes ReScript's watch mode to enter an infinite loop
Repro:
npm i
npm start
Removing or using the unused param stops the loop.