It is happening to me that when I run npm run watch, the first compilation works fine, and then, when it detects a change in some vue file, and compiles automatically, in the browser I get these errors:
[Vue warn]: Error in beforeCreate hook: "TypeError: exports.push is not a function" ----------------- TypeError: exports.push is not a function
and that component no longer works. I have to stop the watch and run it again. Is impossible to work.