Skip to main content

Module watch

Module watch 

Source
Expand description

run --watch: the game’s window program, in a debug build (so with its debug tools on), with the folder of its files on disk laid over the embedded ones and watched (ADR-0071). It isn’t an operation of the contract: it plays nothing headless and answers nothing, and it runs until the player closes the window.

Functions§

main
run --watch on project, args all it was given. Returns the exit code: the game’s, as 0 or 1; 2 for another argument, 3 for a project that doesn’t say what to run.