-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
[0.90] Watcher fails when loading multiple carts #1494
Comments
One more thing: in 0.80, once I load Thank you! |
I think it's outside of TIC possibilities to watch all the carts you load into it, the watcher looks for the only cart loaded using
Here it's better to use command In the commit e4c8372 I disabled cart watching if you load a section (code, tiles, ...) from a cart. |
@nesbox I understand totally that watching multiple files and reloading them correctly is out of scope for TIC-80, but would it be possible for For example, using
That's a possibility, but if I edit the assets within TIC-80, those will be saved inside I'm asking this because TIC-80 games can be quite big (in lines of code count), and bundlers are a necessity IMO. So I just think they should be as frictionless as possible. |
We could add a command-line parameter to "re-execute" the |
Nice, thanks! |
ok, let's do it then |
Added |
@nesbox I just tried and it seems to be working perfectly for my workflow! Thanks again, it's really great! |
👍 |
For my bundler, I need to load 2 carts into TIC-80 :
game.fnl
) contains all the assets, and may contain code (that should be ignored)build.fnl
) contains the always up-to-date bundled codeI'm using the following args for TIC-80:
build.fnl
is ignored until I exit the game withesc
, at which point it is loaded into the editorbuild.fnl
and other assets fromgame.fnl
build.fnl
change, TIC reloads this file as the whole cart, and consequently "unloads"game.fnl
and loses all the non-code assetsThe text was updated successfully, but these errors were encountered: