Andy Damevin

Results 322 comments of Andy Damevin

Maybe we could do this (now that we have GeneratedStaticResourceBuildItem): ```java // for each files in the configured static dir: String link = PathUtils.toUnixPath(staticDir.relativize(staticFile)); // Make sure we convert \...

@mcruzdev this looks like something you might want? We also need to watch those files with restart I suppose, you might also want to watch the parent dir to detect...

> Yes, it would require some changes in vert.x as at the moment there is a single file resolver. not if we use the GeneratedStaticResource solutioon?

@cescoffier only what's detected at build time is marked to be served, so we should be fine..

I am not sure the CI is failing because of this change?

we could also have the same system you added on templates with priorities

I also forgot, you need to add those files as watched for livereload

@mathias82 the code is LGTM, could you add the doc part also, I remember an old doc doing this with the StaticHandler (which was bad), but maybe it was removed.

@Sanne have a look at the [issue](https://github.com/quarkusio/quarkus/issues/39968), it's already the second implementation for this. We considered security by: - Once built, everything is in the jar like any other resources...