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

Option to listen folder or several files #9

Closed
3xau1o opened this issue Nov 30, 2024 · 3 comments · Fixed by #10
Closed

Option to listen folder or several files #9

3xau1o opened this issue Nov 30, 2024 · 3 comments · Fixed by #10

Comments

@3xau1o
Copy link

3xau1o commented Nov 30, 2024

Nice tool!
Currently reload trigger only when main.lua file changes, so need to save a dummy change on main.lua everytime another script is changed to reload all other scripts

function love.load()
    require("script")
    require("test")
end

is it a bad idea to listed to changes in multiple files?

@3xau1o 3xau1o changed the title Option to listed to teal .tl files Option to listen folder or several files Nov 30, 2024
@usysrc
Copy link
Owner

usysrc commented Dec 1, 2024

Hey @3xau1o can you take a look at the PR in #10 and tell me if that implements your wish?

@3xau1o
Copy link
Author

3xau1o commented Dec 2, 2024

@usysrc
tested by copying lick.lua from your PR to my project and yes, it does the job
feedback:

  • when project starts screen is black, after saving a lua file change, game appeared
  • is it possible to add an option to specify other file extensions, like .tl (teal)

@usysrc
Copy link
Owner

usysrc commented Dec 3, 2024

Thanks, I fixed the first point and added an issue for the second. Please continue the discussion there.

@usysrc usysrc closed this as completed in #10 Dec 3, 2024
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

Successfully merging a pull request may close this issue.

2 participants