Running child process has exited and the iris's reloading does not work
w20089527 opened this issue · 2 comments
When I modified a go file, the iris detected it changed. But the file I modify has some syntax errors, the iris will give some build error. For example:
After I finished the go file, in other words it has no syntax errors, the iris detected the changes, and then it will rebuild and reload. But it gave me an error. As follows:
And I have looked up the error code, it stands for "No Waiting Child Process".
The problem is caused when killing a non-existent process.
I have checked the rizla code, maybe we can take this exception as a friendly one.
I'm surprised, you was correct but we don't want to remove this error, I just fixed it with if err := proc.Release(); err !=nil { return nil }
on the killing proc, but you got the point!! Thanks you. Some other things fixed also, you can upgrade with go get -u github.com/kataras/rizla