chore: ensure warn is dev only
This commit is contained in:
parent
c6217b4d46
commit
ff97be15c3
@ -187,6 +187,7 @@ function doWatch(
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
getter = NOOP
|
getter = NOOP
|
||||||
|
__DEV__ &&
|
||||||
warn(
|
warn(
|
||||||
`Invalid watch source: `,
|
`Invalid watch source: `,
|
||||||
source,
|
source,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user