Add error reporting to the amd watch.

for example if the file cannot be written
Fix no output warning check
0.1.1