Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

How to generate all compiled code in a single folder?

$
0
0

I’m pretty sure that they’re cached. I’m instructing circle to cache node_modules and lib folders after we complete the build. Perhaps the problem is that, if the cache logic uses timestamps, the timestamps are not correct after the cache is restored; for example, if the logic expects that the .bs.js files should have later timestamps than the .res files.

I briefly tried using rewatch but unfortunately ran into a bunch of errors with reason dependencies, which it appears that rewatch isn’t able to handle. Bummer. Then again, rewatch also requires rescript rather than bs-platform, and as I mentioned we’re still stuck on an older version.


Viewing all articles
Browse latest Browse all 2592

Trending Articles