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: fix reloading for rebuild/compiled files #45259

Closed

Commits on Oct 31, 2022

  1. cli: fix --watch reload for built files

    When watching folders that contain files that result from a build step,
    e.g: TypeScript output, stored template result, etc. The watcher will
    not reload the application in case one of these resulting files gets
    regenerated, given that when these files are removed they're no longer
    tracked by the watcher.
    
    This changeset enables reloading the app when changing files that result
    from a build step by removing the reset of the tracked filtered files on
    every reload. Fixing the ability to watch and reload the app when a
    previously-known output file is changed.
    
    Signed-off-by: Ruy Adorno <ruyadorno@google.com>
    ruyadorno committed Oct 31, 2022
    Copy the full SHA
    df6b0cd View commit details
    Browse the repository at this point in the history