Oh, sorry, forgot about -w lib.
Now it works, thanks a lot.

пятница, 26 мая 2017 г., 17:08:54 UTC+3 пользователь zakame написал:
>
> On 05/26/2017 10:06 PM, Pavel Serikov wrote: 
> > Thanks for tip about docker-restart. 
> > But is it possible to avoid `docker-compose restart web` at all and 
> > watch for changes automatically ? 
> > I mount my source code as a volume so there must be a way... 
> > 
>
> yep, the aforementioned morbo invocation should work. e.g. in 
> docker-compose.yml 
>
>    version: '2' 
>    services: 
>      web: 
>        command: morbo -v -w myapp.conf -w lib -w templates -w public 
> ./script/myapp 
>    .... 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to