Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Using 'watch' as Quick Continuous Integration

DZone's Guide to

Using 'watch' as Quick Continuous Integration

· Java Zone
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

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!

Download Modern Java EE Design Patterns: Building Scalable Architecture for Sustainable Enterprise Development.  Brought to you in partnership with Red Hat

Topics:

Published at DZone with permission of Mike Christianson, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}