pax icon indicating copy to clipboard operation
pax copied to clipboard

Evertime I try and run something it seems to do a full rebuild?

Open DanielJoyce opened this issue 9 months ago • 5 comments

Is this expected behavior?

pax-cli run -p space-game

[Pax] 🛠️  Building parser binary with `cargo`...

First it says its building the pax parser binary, it says the same thing for every other example. This step takes like 60s. Is this not being cached properly by pax-cli?

Also the spacegame example fails to run due to compiler errors

error[E0308]: mismatched types
    --> /home/XXXXXXX/git/general/pax/examples/src/space-game/.pax/pkg/pax-cartridge/src/lib.rs:1496:44
     |
1496 | ...                   cp.transform = resolved_property
     |                       ------------   ^^^^^^^^^^^^^^^^^ expected `Property<Option<Transform2D>>`, found `Property<Transform2D>`
     |                       |
     |                       expected due to the type of this binding

DanielJoyce avatar May 24 '24 22:05 DanielJoyce