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 mode won't pick up & build new ts files #386

Open
alansemenov opened this issue Dec 20, 2023 · 2 comments · May be fixed by #397
Open

watch mode won't pick up & build new ts files #386

alansemenov opened this issue Dec 20, 2023 · 2 comments · May be fixed by #397
Assignees
Labels
bug Something isn't working

Comments

@alansemenov
Copy link
Member

New SASS/SCSS files get picked up and built into CSS without any problem, but not new TS files.

@alansemenov alansemenov added the bug Something isn't working label Dec 20, 2023
@ComLock
Copy link
Member

ComLock commented Dec 28, 2023

This happens because the glob that defines the entries is only run once in the beginning when building the config (as in the config never changes.)

Perhaps there is a way to have a config without using specific entry files (and rather use a folder or regexp),
or perhaps there is a way to trigger a "reconfig" whenever a new ts file appears.

@ComLock
Copy link
Member

ComLock commented Dec 28, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants