Fixed problem with watch being executed as a part of the publish task