Skip to content

File watcher plans #60

Open
Open

Description

@plekakis

Is there a plan on adding support for watching a directory for changes? Ideally via native file watch API.

Activity

  1. icculus commented on May 29, 2023

    @icculus
    Owner

    That...is an interesting idea. I don't have plans for it atm, but let me look into how this works on various platforms and see if this makes sense!

  2. plekakis commented on May 29, 2023

    @plekakis
    Author

    Thanks for looking into this, I hope other people will find it useful as well.
    The main driving force behind it is to:

    1. Not write a filewatcher which would require additional interop with converting from physical <-> virtual filenames and
    2. Being able to watch virtual directories would give additional flexibility.

    Consider for instance a hot-reload system which watches the asset directory and on file change triggers a recompilation of that asset. I'm sure there's other example use cases.

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