typewatch event listener with delay