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:
parent
3a23662a34
commit
122806161b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user