create-t3-turbo icon indicating copy to clipboard operation
create-t3-turbo copied to clipboard

bug: tailwind not hot reloading in dev

Open soya-miruku opened this issue 2 years ago • 6 comments

First of all, great work guys! this is amazing, really loving it so far. I am not sure if this is a known issue or more on my side, but yeah as the title suggests, when i make changes to my tailwind config file i would like to have these changes hot reloaded, is this possible? i wasn't sure if i needed to make changes to the package.json file or just include it as a transpile package.

thanks!

soya-miruku avatar Nov 23 '22 09:11 soya-miruku

Is this working in a normal Next.js app?

juliusmarminge avatar Nov 23 '22 09:11 juliusmarminge

@juliusmarminge yes, i was previously using the normal t3 stack repo, but now i need to create another app, so thought to use t3-turbo

soya-miruku avatar Nov 23 '22 09:11 soya-miruku

Alright, good to know.

I don't think I got time to look into this until next week, but feel free to look into a solution on your own in the meantime. Should be possible some way or another

juliusmarminge avatar Nov 23 '22 09:11 juliusmarminge

I have an implementation of this already. I'll see if I have time in the next couple days to add some comments on how I achieved it and we can discuss whether its worth a PR :)

jeevanpillay0000 avatar Dec 01 '22 13:12 jeevanpillay0000

I have an implementation of this already. I'll see if I have time in the next couple days to add some comments on how I achieved it and we can discuss whether its worth a PR :)

Hey, mind sharing your solution?

juliusmarminge avatar Dec 16 '22 19:12 juliusmarminge

As far as I know it is a nextjs 13.x bug. https://github.com/vercel/next.js/issues/43878

teddybee avatar Jan 16 '23 20:01 teddybee

As far as I know it is a nextjs 13.x bug. vercel/next.js#43878

I also had this issue with next 13, but it was only when I was using the app directory

LukaHietala avatar Mar 01 '23 15:03 LukaHietala

@soya-miruku Is it still an issue? Just tried to change the tailwind config and worked well on my end.

BrightonMboya avatar May 27 '23 08:05 BrightonMboya