DevWatcher implementation using Scala