I’m using rescript watch, but it keeps building every module rather than incrementally building only the changed files.
I noticed that if I have a %todo, I always see the warning. Perhaps this is unique to this type of warning, but I couldn’t find it in the docs.
Are todo warning always shown? If so, how can I toggle them on and off? I would like to silence them when building my test suite.
I tried, npx rescript build --warn-error -- "-110" but I get an error saying ‘-110’ is an unexpected argument.
Thanks for the help!
There is nothing fancy about my rescript.json:
{
"name": "trt",
"sources": [
{
"dir": "src",
"subdirs": true
},
{
"dir": "test/src",
"subdirs": true,
"type": "dev"
}
],
"package-specs": [
{
"module": "esmodule",
"in-source": true
}
],
"suffix": ".res.mjs",
"jsx": {
"version": 4
},
"dependencies": [
"@rescript/react"
],
"compiler-flags": []
}