-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Seemingly random "snapshots" when requiring a module that returns a table #215
Comments
The only solution I see presently is to port my entire application over to JS and use Fengari exclusively to load my libraries... Which I'd rather not do. |
OK so progress on the problem: it seems my editor wasn't updating the file's last edited timestamp, not sure why that would ever happen, but once I Not sure there's anything you can (or should) do with this issue, this is very clearly a problem with my setup. I'll leave the issue open to let you know what happened and see what you do (if you do) anything about it. |
NOPE never mind, |
Further testing seems to show that it only ever happens in Firefox, but I need to investigate more |
Testing concluded this still happens on chrome. No idea what causes it. It's not caching (at least not in any form I can disable). |
Are you just running into the fact that |
Wouldn't Also if that were the case, I wouldn't simultaneously have a different problem: when multiple files require the same module, they get different copies. I know this because one of my modules does a metatable comparison, and in one file it was passing while not in the other. Is there a way to disable these functions? They are getting in the way more than helping. Thank you for the quick reply though. |
|
Then the behavior I encountered wasn't caching, because it kept happening even when force reloading the page with no cache. |
I'm trying to use Fengari on a personal project, but it sometimes just... stops updating my module return values? For instance, I'll add a new function to the table, and then Fengari just decides it doesn't exist. Every other field previous to that is fine, but the new one disappears.
I've tried restarting my web server to no avail, I'm kind of lost at this point. I want to use Fengari but this is making it really difficult for me.
The text was updated successfully, but these errors were encountered: