Skip to content

Add watch mode using chokidar in buildTypes script #46180

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yuito-it
Copy link

Implement watch mode to rebuild when source files change by integrating chokidar into the buildTypes script. This enhancement allows for more efficient development by automatically rebuilding on file changes.

This pull request is to implement pnpm dev in the MUI Toolpad repo.

@mui-bot
Copy link

mui-bot commented May 20, 2025

Netlify deploy preview

https://deploy-preview-46180--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 9a6efbe

@zannager zannager added the enhancement This is not a bug, nor a new feature label May 21, 2025
@zannager zannager requested a review from Janpot May 21, 2025 10:24
@Janpot
Copy link
Member

Janpot commented May 21, 2025

Looks like a duplicate of #45547. We likely want to avoid duplicating the whole logic in a watcher like that. That will too easily go out of sync with single run as we iterate further on this script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is not a bug, nor a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants