libera/#commonlisp - IRC Chatlog
Search
21:22:33
White_Flame
when a customer wants a program to do X, and just wants it invoked by whatever their devops does, regardless of language implemented
1:04:16
cpli
how do i include trivial-features in my project such that i can `error` on certain trivial features?
3:13:22
loke[m]
@cpli:libera.chat: you just add it to the dependencies in the asd file, or am I miunderstanding the question?
4:00:05
jmercouris
are you trying to actually literally call something from the trivial features system in your asd?
4:12:35
bitblit1
<jmercouris> "are you trying to actually..." <- I think that is what he was trying to do.
4:13:29
jmercouris
then you have a couple of options, basically you can require it, embed it in the top of your asd and use it
6:28:34
bitblit1
So, I asked about compiling your program while it's running to see "live reload". I understand now that anything in the loop with it's own compilation unit will be able to reload while the application is running. However, how will I update things that should NOT be in the loop. Such as init functions. Let's say I am working on creating a game or whatever, I want to write the code to create a window and compile it while the program is running
6:28:34
bitblit1
and want to see it update live. However, putting the CREATE-WINDOW function in the main loop will create too many windows. I don't know how to get around this problem. Do I have to check if it is the first instance of the loop? If so, when I compile, will the loop rerun making it the first iteration of the loop?