My problem is if use “dev” script only, .mjs files are not updated. if use “res:dev” only, no webserver is started. I have to open 2 terminals to run both scripts for my development.
My question is that if it is possible to use only 1 script to enable both .res file watching & webserver for development.
Is it fast? I was under the impression that the ReScript team would prefer you to run the compiler standalone so as not to slow down the feedback loop.
I didn’t mean the loader feature. Basically the plugin does is spawning a rescript build -w process on dev, rescript build process on build. So no need to use either npm-run-all or concurrently for it.
+ And it is also helpful when using rescript-vitest