extension-teal
extension-teal copied to clipboard
Is Defold restart required to make Teal work?
Looks like the Teal compilation is not working until the editor is restarted. After following the steps from this repo's README was getting an error that 'greeter.lua' is not found. Closing and opening editor again fixes the issue. If this is a known issue then might be worth documenting in the readme. Maybe there is a workaround for it?
If you are talking about #5, this is an oversight on our side.
#5 is a good one! However this one is a bit tricky to reproduce. It requires completing Teal setup steps in one go on a "fresh" project with that project being open in Defold. Once that same project is opened again (or for the first time) there is no error.
The problem:
Goes away after restart:
Order of the setup steps might be the culprit. Following setup steps from the README seems to be working correctly without Defold restart.
Then tried changing order of the steps and reproduced the error, so first created tlconfig.lua and then added the extension, fetched it:
Then added rest of the files (greeter.tl, main.script, edit main.collection) and got the same error: