immediate didn't work in `watch([()=>undefined]`
Vue version
3.2.40
Link to minimal reproduction
Steps to reproduce
const a = ref(undefined);
watch([a], ()=>{
console.log('no print, immediate didn't work')
}, {immediate:true});
What is expected?
immediate:true working
What is actually happening?
immediate:true didn't work
System Info
No response
Any additional comments?
No response