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

Watch other files that is importing in main file (webpack) #4

Open
gabrielpapke opened this issue Aug 5, 2021 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@gabrielpapke
Copy link

Hello, first congrats and thanks for the project.

I'm separating files like: theme1.ts, theme2.ts, and importing in theme.ts, using import Theme1 from 'theme1', which theme1.ts has an exported object that contains the definitions from the theme using the rules.

When I import the objects from other file to increment the main object (theme.ts), the css file doesn't update with the changes. If I use only file that is defined in srcPath, that's works.

How can i do this? Using separate files for a better architecture and watching the changes.

Thanks!!

@gabrielpapke gabrielpapke added the enhancement New feature or request label Aug 5, 2021
@NetanelBasal
Copy link
Contributor

I think we only listen for changes in the src path. We can add multiple path support, or be smarter. @shaharkazaz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants