Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No found in html #11

Open
VigilioYonatan opened this issue May 4, 2024 · 3 comments
Open

No found in html #11

VigilioYonatan opened this issue May 4, 2024 · 3 comments

Comments

@VigilioYonatan
Copy link

No found in html. i dont have problem with ejs. njk, etc extension. only html

 liveReload([
            path.resolve(import.meta.dir, "./resources/views/**/*.html"),
        ]),
``
also i test   { alwaysReload: true,usePolling:true } and no fixed  
@arnoson
Copy link
Owner

arnoson commented May 4, 2024

can your create an example github repository or code sandbox that shows your problem?

@VigilioYonatan
Copy link
Author

VigilioYonatan commented May 4, 2024

https://github.com/VigilioYonatan/EXPRESS-NJK-VITE-JS

# npm install . you can use bun if you prefer
bun run dev
bun run serve

app.js - line 22

app.set("view engine", "njk"); //! if you change to html extension . no found livereload

with ejs , njk. found . but in html no reload

@arnoson
Copy link
Owner

arnoson commented May 7, 2024

Thanks, I'm a bit busy at the moment and not shure when I'll find the time to look into this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants