added watch plugin. fixes #48