quarkiverse / quarkus-web-bundler

Create full-stack web apps quickly and easily with this Quarkus extension. It offers zero-configuration bundling for your web app scripts (JS, JSX, TS, TSX), dependencies (jQuery, React, htmx, etc.), and styles (CSS, SCSS, SASS).
Apache License 2.0
16 stars 9 forks source link

livereload not enabled unless i include a mvnnpm dependency #227

Open maxandersen opened 1 month ago

maxandersen commented 1 month ago

I have index.html with {#bundle /} but nothing else.

livereload is not included.

even tried adding app/test.js - no difference.

first when I added this to pom did livereload kick in:

<dependency>
        <groupId>org.mvnpm</groupId> 
        <artifactId>jquery</artifactId> 
        <version>3.7.0</version> 
        <scope>provided</scope> 
    </dependency>

should livereload not just work without any js added to the project?

ia3andy commented 1 month ago

Did you add the files in src/main/resources/web/app/test.js?

ia3andy commented 1 month ago

WIthout a script styles or web deps, Live reload is not making a lot of sense.