5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-20 19:09:29 +08:00

Output errors in dev mode #1031

This commit is contained in:
Lea Anthony 2022-03-07 21:12:26 +11:00
parent 3a23662a34
commit 122806161b

View File

@ -532,6 +532,8 @@ func doWatcherLoop(buildOptions *build.Options, debugBinaryProcess *process.Proc
if exitCode == 0 {
quit = true
}
case err := <-watcher.Errors:
LogDarkYellow(err.Error())
case item := <-watcher.Events:
// Check for file writes
if item.Op&fsnotify.Write == fsnotify.Write {