Using web workers in Rails seems a little awkward. I was wondering if anyone had a nice work flow.
1) Since they are loaded directly, they can't be in the asset pipeline, so I created a folder under public: public/web_workers/
Disadvantages:
- The web worker code isn't minimized.
- The web worker code is not where all the other javascript files are, so it is a little bit "hidden" during development.
- The web worker code doesn't get the fingerprint, so I've had some issues with the browser caching the old code.
Can anyone improve on this system?