Skip to content

Watch doesn't auto-build dependents #239

Description

@SarahIsWeird

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions