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

Tsup doesn't watch dependencies for changes #1277

Open
BlueNebulaDev opened this issue Jan 20, 2025 · 1 comment
Open

Tsup doesn't watch dependencies for changes #1277

BlueNebulaDev opened this issue Jan 20, 2025 · 1 comment

Comments

@BlueNebulaDev
Copy link

BlueNebulaDev commented Jan 20, 2025

I'm developing two packages in parallel: the library of my project as well as an application which uses the library.

The library is npm linked in the application, so that modifications to the library are available in the application immediately.

I'm using tsup --watch to build the application. But unfortunately it doesn't rebuilds when the library changes (not even if I --watch node_modules/my_library).

Is there any way to make tsup rebuild the application whenever the library changes?

@BlueNebulaDev BlueNebulaDev changed the title Option to watch a dependency for changes Tsup doesn't watch dependencies for changes Jan 20, 2025
@herberthobregon
Copy link

Same here. in 8.3.5

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

No branches or pull requests

2 participants