Make the watch works in the component