Watcher’s callback will execute whenever the watched source changes. If you want the callback to trigger only once when the source changes, use the once: true
option.
Watcher’s callback will execute whenever the watched source changes. If you want the callback to trigger only once when the source changes, use the once: true
option.