The architectures I work with heavily favor root-relative paths for the majority of things, so it would be very nice if there was a way for us to specify the root directory for the local server for the preview, so that if we want to use root-relative paths we don’t have to manually update them on every file or use a build tool to correct them before deploying.
The ideal implementation of that for me would look something like a toggle in the Web Preview settings to have the root set (on preview launch) to the highest ancestor directory that contains an index.html, or something like that.
The architectures I work with heavily favor root-relative paths for the majority of things, so it would be very nice if there was a way for us to specify the root directory for the local server for the preview, so that if we want to use root-relative paths we don’t have to manually update them on every file or use a build tool to correct them before deploying.
The ideal implementation of that for me would look something like a toggle in the Web Preview settings to have the root set (on preview launch) to the highest ancestor directory that contains an index.html, or something like that.