Hacker News new | past | comments | ask | show | jobs | submit login

I dont know what to tell you, I'm using the simplest possible project here. It just doesnt seem to pick up anything other than the entry.re file. I initially only had the non-webpack default compilation set up, which does compile all .re files but has the problem that the modules dont get loaded / no idea which order should be loaded. So naturally I set up webpack but now it only watches the entry.re file for some reason. And saying that the output js corresponds 1-1 with reason is really not true at all, especially when compiled into one big module with webpack.

https://i.imgur.com/hrxmjWl.png




I think it only watches one of your files because the other one isn't actually referenced by any code in the pathway of your entry point. If you reference some code from your other file, it will be picked up as well.

Yes, I forgot about bundling, sorry, but if you are in debug mode you're not minifying the bundle JS anyway so whatever you're looking at should still look a fair bit like the input Reason, especially because the names are only minimally mangled.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: