Spent a bunch of time talking to Nathan, Siggy, and Kevin about how to handle pub serve
with stuff outside of web/
. Our goals are:
-
Root-relative URLs inside
web/
,test/
,example/
, and even things like subdirectories ofexample/
should be supported. This means that the root directory being served needs to be constrained to those.We can't require the user to hit
localhost:8080/example/example1/foo.html
because it would break a root-relative URL infoo.html
. -
More than one of these directories needs to be servable simultaneously. If you have to shut down the server and restart it (which entails rebuilding