HipsterBrown / xs-dev

The quickest way for getting started with JS on devices
https://xs-dev.js.org
MIT License
37 stars 13 forks source link

feature: clean and debug commands #121

Closed phoddie closed 1 month ago

phoddie commented 1 year ago

The mcconfig tool's -t option controls which build phases run. The default is to build, deploy, and debug. There are options to do to each of these phases independently as well as a "clean" option to remove all objects. xs-dev currently implements the default with xs-dev run and build with xs-dev build It would be useful to also implement clean and debug. The "debug" option is convenient for restarting a debugging session without having to re-deploy. The "clean" option is great when something bad happens with the build. 🤦 Both clean and debug would respect the --device, --mode, and --output flags.