Skip to content
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

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

Open
petersrule opened this issue Jul 6, 2024 · 2 comments
Open

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

petersrule opened this issue Jul 6, 2024 · 2 comments
Labels
🐞 bug Something isn't working @stylify/bundler Targeting @stylify/bundler package @stylify/stylify Targeting @stylify/stylify package

Comments

@petersrule
Copy link

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
Copy link
Author

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
Copy link
Member

Machy8 commented Jul 7, 2024

Hi, thanks for the report!

I will look into it.

@Machy8 Machy8 added 🐞 bug Something isn't working @stylify/stylify Targeting @stylify/stylify package @stylify/bundler Targeting @stylify/bundler package labels Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working @stylify/bundler Targeting @stylify/bundler package @stylify/stylify Targeting @stylify/stylify package
Projects
None yet
Development

No branches or pull requests

2 participants