Jonghakseo / chrome-extension-boilerplate-react-vite

Chrome Extension Boilerplate with React + Vite + Typescript
MIT License
2.38k stars 348 forks source link

Content-ui isn't working well #717

Open PatrykKuniczak opened 1 month ago

PatrykKuniczak commented 1 month ago

Describe the bug When this package are reloading we have running condition, when vite are built faster than tw and then this happend:

  1. Reload vite and refresh content-ui
  2. Reload tw
  3. 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:

  1. Go to content-ui
  2. Edit some tw classes
  3. 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 image

Desktop (please complete the following information):

tngflx commented 1 month ago

Hello