stylify / packages

💎 Monorepository for Stylify packages. Stylify uses CSS-like selectors to generate Extremely optimized utility-first CSS dynamically based on what you write 💎.
https://stylifycss.com
MIT License
429 stars 9 forks source link

stylify.js: changes don't update on changes. #283

Open petersrule opened 4 months ago

petersrule commented 4 months ago

Describe the bug

I followed the install for Angular. The problem I've found with your npm/yarn scripts in the package.json file don't work because when you update the stylify.js file "node stylify.js --w" isn't rerunning that js file again after changes to it. so I had to install nodemon (Node Monitor) to get it to work. It is a necessary dev dependency to get it to work properly.

I now run "dev": "concurrently 'nodemon stylify.js' 'ng serve -c development'", this version of "dev" to get it to work. Please update anywhere on your site that is using "node stylify.js --w". It does do what you think it does. After years of running javascript through node, I always used Node Monitor to get it to update on changes.

Note: your code on the website has so many bugs like missing commas, etc. Please fix them. I love what Stylify does but that is a big turn off for most developers.

Reproduction

See above for the problem and the solution.

Logs

No response

System Info

See above for the problem and the solution.
petersrule commented 4 months ago

I finding that I need to save the stylify.js file also if I make a change in a class in an html file to get it to work.

Machy8 commented 4 months ago

Hi, thanks for the report!

I will look into it.