Search found 72 matches
- Thu Mar 05, 2015 7:45 pm
- Forum: Support and Development
- Topic: Live coding on Linux with LÖVE
- Replies: 11
- Views: 6692
Re: Live coding on Linux with LÖVE
Thanks zorg! Yours is a better solution than mine. I just realized that problem wasn't about the filesystem, but the text editor I use. Vim seems to remove the old file when saving. But I will use your solution, since it's more elegant. EDIT: I just tried your solution. I'm afraid when using vim, it...
- Thu Mar 05, 2015 4:34 pm
- Forum: Support and Development
- Topic: Live coding on Linux with LÖVE
- Replies: 11
- Views: 6692
Live coding on Linux with LÖVE
I don't know if everybody knows this, but I just recently figured it out, so I decided to share it if anyone else needs it. To see the changes to your main.lua file live, add these lines to your love.update() function: if love.filesystem.load("main.lua") == nil then love.timer.sleep(1) lov...