![]() I would love to access those files directly in dev when reloading my browser. I don't need to recompile those libs every time, though, it should seem, since webpack-dev-server is there running and finishes its compile in fractions of a seconds when I make a save. So that's 20 seconds between every code change until I'm able to reload the browser in dev mode to see my changes. The unfortunate side effect of this is that some of my node libs are quite large as I'm writing a dictionary extension, so the compile step can take 20 seconds or more. The only way I've found to force a write is to call the webpacker:compile rake task. I'm writing a React-based Chrome extension and using the files generated by the rails webpacker pipeline to then move into a separate distribution folder for the extension, which is then uploaded to the Chrome Store. I'm using webpack with Rails+Webpacker and would love to get webpack-dev-server to write to disk, but not having luck. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |