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

Fix cyclic concurrent buildings of vite and hugo while both in watching mode #1751

Open
wants to merge 49 commits into
base: master
Choose a base branch
from

Conversation

Convolutio
Copy link

When npm start is run, vite build is watching wrong directories in which files are edited by the final hugo building
server, launching a new build from vite, then a new build from hugo, and so on. This is unusable for an edition of the layout files or the style sheets with real-time rendering because the website is uselessly reloaded too much frequently.

With this fix, vite rebuilds the website only if useful files are edited, i.e. files in the app, layout or style directories.

this button has its style to be enhanced
the initial page loading is not with the saved theme
TODO: enhance the css maintainability
TODO: fix the logo layout
TODO: make prettier the dark mode button
todo: keep user authentication on static page refresh
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

Successfully merging this pull request may close these issues.

1 participant