Using 'watch' as quick continuous integration

Here’s a quick tip for anyone writing a script without a REPL: use watch as a quick continuous integration tool.

While writing code in one console, execute the following watch command in another:

watch -d -n 5 "command"

I used this trick while pair-programming an Io implementation of Gnome Sort during my last reading group meeting. My other half thought it was a clever trick and shared it with the group. Then our group leader said I should blog about it. Done!