Function to reload a file during runtime
Posted: Thu Mar 19, 2020 6:56 am
Hey! I need some help:
I have a function that load a .csv file, and this file is constantly changing outside the lua/love application. So I want to be able to reload the file each time to see the changes by pressing the key 'X' for example. I've already tried LICK but to reload we have to save the .lua file again so it's not directly on the application.
I am looking for a function that can reload a file during runtime while staying on the application.
You can tell me if it's not clear (english is not my native language)
Thank you very much for your answers!
I have a function that load a .csv file, and this file is constantly changing outside the lua/love application. So I want to be able to reload the file each time to see the changes by pressing the key 'X' for example. I've already tried LICK but to reload we have to save the .lua file again so it's not directly on the application.
I am looking for a function that can reload a file during runtime while staying on the application.
You can tell me if it's not clear (english is not my native language)
Thank you very much for your answers!