We can easily make rescript compiler in watch mode by putting this line in package.json
"watch": "rescript build -w"
However I use rescript with webpack. how can I make both rescript and webpack watch at the same time? I guess we need webpack to always create the index.js file in the build folder from index.bs.js in the src folder.