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 doesn't auto-build dependents #239

Open
SarahIsWeird opened this issue Jan 30, 2025 · 1 comment
Open

Watch doesn't auto-build dependents #239

SarahIsWeird opened this issue Jan 30, 2025 · 1 comment

Comments

@SarahIsWeird
Copy link
Contributor

Imported files do not trigger rebuilds on their dependents. This probably isn't easy to implement, but it would be an amazing QoL feature.

Steps to reproduce:

// src/lib/myLib.ts
export const myValue = 42;

// src/scripts/test.ts
import { myValue } from "../lib/myLib";
export default function (c, a) {
  return myValue;
}
$ hsm push src/scripts --watch

>>#up test
>>test
Success
42
// src/lib/myLib.ts
export const myValue = 69;
>>#up test
>>test
Success
42
@samualtnorman
Copy link
Owner

#213

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