Hmm... for some reason, I thought there were some "loopholes" where this wouldn't work, but I just modified an HTML template that is included by another template that is rendered by a function in a file included by my main app, and it worked as expected.
However, I did lose the -j 8 parallel aspect. I used --vv and it only reported one process. For my main use case of changing a few files and needing to compile them, it works great though. I'd only need the -j 8 benefit if compiling many more files. On Monday, March 11, 2019 at 8:34:59 PM UTC-4, Alex Harsanyi wrote: > > To add one more answer to this thread :-) > > In addition to compiling files specified on the command line, `raco make` > will recursively compile all files referenced via `require`. This means > that if you have a top level file for your application, you can tell `raco > make` to compile that file, and it will compile all the files that it > references, the will be compiled only if they have changed. There is also > a `-j` option which allows compiling in parallel. So, for example, if the > toplevel file in your application is main.rkt you can do: > > raco make -j 8 main.rkt > > and all your project files will be updated. > > Alex. > > On Tuesday, March 12, 2019 at 3:00:34 AM UTC+8, Brian Adkins wrote: >> >> I looked over the documentation for raco make, and I didn't see anything >> about how to recursively make all *.rkt files in a directory tree. I >> suppose I could use something like: find . -name \*.rkt | xargs raco make, >> but I like being able to use all 8 "cores" with -j 8, and I *think* I'd >> lose that with xargs. >> >> What is the best practice for making a tree of Racket code? >> >> Thanks, >> Brian >> > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.