fresh icon indicating copy to clipboard operation
fresh copied to clipboard

App is not restarted on error

Open Somebi opened this issue 7 years ago • 3 comments

By the looks of it, you don't listen for signals of process you are executing after build. If there is some error afterwards, it doesn't do anything. Listen for signals and restart app or exit pilu/fresh on app error to allow docker container to restart itself.

It's critical if used inside docker.

Somebi avatar Jul 20 '17 07:07 Somebi

Could you explain a bit more what exactly your issue is?

gmccue avatar May 22 '18 19:05 gmccue

I agree on this, even trying to make a syntactic error, fresh won't notice it and still build. That would be the easiest reproducible bug.

DiegoGallegos4 avatar Dec 10 '18 06:12 DiegoGallegos4

when exit(1) it doesn't reflect on fresh. understandable because it watches the files and nothing were changed and I have to restart the whole service inside docker-compose :(

@gmccue

Could you explain a bit more what exactly your issue is?

denisrudov avatar Apr 23 '22 06:04 denisrudov