chrome-extension-boilerplate-react-vite
chrome-extension-boilerplate-react-vite copied to clipboard
Content-ui isn't working well
Describe the bug When this package are reloading we have running condition, when vite are built faster than tw and then this happend:
- Reload vite and refresh content-ui
- Reload tw
- Reload vite and refresh again
Let's take a look on screenshot, that's info about additional reload(I hope :)) We was talking about it on Discord and that's probably it
To Reproduce Steps to reproduce the behavior:
- Go to content-ui
- Edit some tw classes
- Take a look on console
Expected behavior Run tw build before vite, with e.g. npm-watch which can help us to run command after command instead of parallelly.
We can't do it with simply &&
between scripts, because both are watchers and with that solution only first script will run
Screenshots
Desktop (please complete the following information):
- OS: Window 11
- Browser: chrome
- Node Version: 20