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

Fixed Hotswapper (for me at least) #285

Merged
merged 1 commit into from
Nov 17, 2024
Merged

Conversation

Simbel0
Copy link
Contributor

@Simbel0 Simbel0 commented Nov 17, 2024

Despite apparently working for the devs, the hotswapper never worked for me no matter what I did, and I'm gonna assume I am not the only one in this situation

This basically adds the source directory to Lua's PATH variable when starting Kristal (and add a little check to remove it when trying to get some info on it). This seems to be enough to have package.searchpath(key, package.path) work as expected.

@NyakoFox
Copy link
Collaborator

lgtm

@NyakoFox NyakoFox merged commit dfb9a80 into KristalTeam:main Nov 17, 2024
1 check passed
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 this pull request may close these issues.

2 participants