olistic / warriorjs

🏰 An exciting game of programming and Artificial Intelligence
https://warriorjs.com
MIT License
9.41k stars 488 forks source link

Watch for Player.js changes and run #258

Open rudiedirkx opened 3 years ago

rudiedirkx commented 3 years ago

I have no idea how to do this, but would it be possible to auto-run a warrior when its Player.js (or other files?) change? Something like

warriorjs --directory warriorjs/antalia-baby-steps/ --watch

Output would still happen on the command line, but then I can use a nice editor to edit my Player.

I didn't see it in warriorjs --help, so I thought I'd ask.