It would be a great (and I think simple) idea to add an "Output" folder in the settings, PER PROJECT, that allows to copy files to it prior to running the preview server. This simple addition would allow me to set a path to a "project/public" or "project/www" folder, which would be a sub-folder of my backend project. That way I can build and work on the back-end separately, and upon running the preview in BSS, it can load the files from that folder.
Example: Let's say I have this structure:
I could compile my project, which would output the .js files from client (I use TypeScript) to the
There's an alternative idea:
You already allow linking to external files using a URL. Why not support the "file:///C:/dir/somefile.ext" format for files, then import anything that changed prior to preview? (example: