arielsalminen / vue-design-system

An open source tool for building UI Design Systems with Vue.js
https://vueds.com
MIT License
2.17k stars 225 forks source link

Editing the styleguide HTML does not trigger watchers #164

Open edwinm opened 5 years ago

edwinm commented 5 years ago

In the generated styleguide, it's possible to edit the HTML (with CodeMirror) and see the results when properties and content are changed.

Changing the properties this way does not trigger the watchers. Besides watchers, also beforeUpdate, updated and prop handlers are not called.

This can lead to undesirable side effects.

Solution: make sure the right handlers are called when a property is changed.