Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
01:04 xinming left 01:05 xinming joined 02:26 melezhik joined
melezhik Hi! I am writing a help script that demonize `cro run` command via `nohub cro run &` everything works fine, however when cro sees changes in files it runs a new process of web app, so I end up with a bunch of process instead of the one ... 02:28
I am not sure if this is correct behavior , I expect this will be just a one process
at least this is how it works ( just one process exists) when I demonize `cro run` via  systemd 02:29
nohub -> nohup
I am on mac os 02:30
sorry, keep looking into this , maybe issue with helper script ... not sure, will get back with more details later 02:38
02:38 melezhik left
japhb melezhik: `cro run` is intended for developer use, not as your production instance. You can run your service file directly, or you can use Docker/Kubernetes as in cro.services/docs/docker-deployment 02:50
Focusing on developer needs is why `cro run` autorestarts when it sees changes to the file tree. 02:51
05:01 xinming left 05:03 xinming joined 05:29 xinming left, xinming joined 08:28 Xliff left 08:54 sena_kun joined 14:23 jgaz joined 17:40 sena_kun left 17:41 sena_kun joined 17:49 jgaz left 17:57 xinming left, xinming joined 19:48 jgaz joined 20:12 melezhik joined
melezhik . 20:13
japhb: Docker or k8s is overkill for my situation , how can I still run cro app without restart feature ? 20:14
20:15 melezhik left 20:22 Xliff joined
Xliff \o 20:23
I have a token, defined as 'token dc { "::" }'. I want to parse it globally. How can I do this using the "$content ~~ ::('&dc')" form of the call? 20:25
20:28 melezhik joined
Xliff m: token a { 'a' }; "Alpha Malpha Malp".match( &a, :g ).gist.say 20:29
melezhik also imho docker and k8s is not the only way to deploy to production ... I think I am going to use "nohup raku app.raku < /dev/null &" instead of cro 20:30
japhb melezhik: Yeah, that's what I was trying to say. Run the app script, not the cro tool. 20:31
20:31 melezhik left 22:06 jgaz left 22:17 xinming left 22:18 xinming joined 23:34 sena_kun left