variabless
variabless copied to clipboard
Watch other files that is importing in main file (webpack)
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!!
I think we only listen for changes in the src path. We can add multiple path support, or be smarter. @shaharkazaz