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

Add basic lua hot-loading support with libfswatch #2

Open
adammitchelldev opened this issue Sep 21, 2018 · 2 comments
Open

Add basic lua hot-loading support with libfswatch #2

adammitchelldev opened this issue Sep 21, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@adammitchelldev
Copy link
Owner

When a file is required, begin watching it. If the file is changed, re-load it.

libfswatch is a cross-platform library to enable this.

In future, it may be desirable to track the actual modules required by each module and reload dependents after a module is changed.

@adammitchelldev adammitchelldev added the enhancement New feature or request label Sep 21, 2018
@adammitchelldev
Copy link
Owner Author

Scratch that, libfswatch is GPL, need to find an MIT alternative or roll our own.

@adammitchelldev
Copy link
Owner Author

I take that back. The MIT license is compatible with GPL and thus linking from MIT to GPL actually satisfies the GPL terms.

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

No branches or pull requests

1 participant