ayecue / greybel-js

GreyScript transpiler/minifier/interpreter for Grey Hack written in JS.
http://editor.greyscript.org
MIT License
28 stars 7 forks source link

Message-Hook does not sync installer and auto compile #160

Closed stevenklar closed 9 months ago

stevenklar commented 9 months ago

This is a feature request.

It would be nice to not only sync the compiled src but also compile it and remove the src to prevent accidentally leak the src. This would result in a realtime sync of the tool without manual build and rm of the src.

By e. g. either use the ShellIntrinsic "build" or PlayerServerMethods "BuildScriptServerRpc" when --instlal & --auto-compile flag is giving to the greybel compiler which then should use the installer*.src

Bonus perfect would be to rm the src after successful build.

ayecue commented 9 months ago

Auto-compile for in-game creation should be now in place. Please take a look if it fits your needs. Going to close the issue for now if there are any issues feel free to reopen this issue.