Evan You 7 лет назад
Родитель
Сommit
08c8fdb62e
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      packages/core/src/componentWatch.ts

+ 1 - 0
packages/core/src/componentWatch.ts

@@ -34,6 +34,7 @@ export function setupWatcher(
   const applyCb = () => {
     const newValue = runner()
     if (newValue !== oldValue) {
+      // TODO handle error
       cb(newValue, oldValue)
       oldValue = newValue
     }