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: upgraded deps, simplified codebase and fixed logic for watch/notify/patch #404

Merged
merged 13 commits into from
Dec 19, 2024

Conversation

sabify
Copy link
Contributor

@sabify sabify commented Dec 4, 2024

No description provided.

@sabify
Copy link
Contributor Author

sabify commented Dec 4, 2024

What's changed:

  • Updated and upgraded all dependencies.
  • Simplified the watch, notify, patch and assets workflows that make it less error-prone, react to changes correctly and it's compatible with the latest notify library.
  • Watcher now reacts correctly to the files' changes while running workflows, it will interrupt the workflow and rerun it to keep up with the changes.
  • Simplified and cleaned up bindgen usage in front
  • Added minifier and optimizer to tailwindcss on release mode

for change in changes {
did_change |= ch.add(change.clone());
ch.add(change.clone());
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change correctly notifies the watcher to terminate the running commands and rerun them.

@sabify
Copy link
Contributor Author

sabify commented Dec 10, 2024

The failed CI may not be related to this PR. It happened after merging the main.

@sabify sabify mentioned this pull request Dec 10, 2024
@benwis
Copy link
Contributor

benwis commented Dec 19, 2024

Works well now that dist is updated

@benwis benwis merged commit b900521 into leptos-rs:main Dec 19, 2024
7 of 8 checks passed
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.

2 participants