Skip to content

[0.90] Watcher fails when loading multiple carts #1494

@scambier

Description

@scambier

For my bundler, I need to load 2 carts into TIC-80 :

  • The first one (game.fnl) contains all the assets, and may contain code (that should be ignored)
  • The second one (build.fnl) contains the always up-to-date bundled code

I'm using the following args for TIC-80:

"--skip --fs=C:\\(etc.)\mygame .\\game.fnl --cmd load .\\build.fnl code & run"
  • The code from build.fnl is ignored until I exit the game with esc, at which point it is loaded into the editor
  • The game runs as intended, with code from build.fnl and other assets from game.fnl
  • Now if the contents of build.fnl change, TIC reloads this file as the whole cart, and consequently "unloads" game.fnl and loses all the non-code assets

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions