cryogen

Nundrum 2023-12-08T16:19:50.835009Z

I started a fresh project with lein new cryogen test-blog. Then started lein serve. But if I edit anything in themes/blue/css/screen.css I get an error. Though I've been trying to debug it this morning, I haven't gotten anywhere.

Nundrum 2023-12-08T16:19:58.916369Z

compiling assets...
compiling sass
copying theme resources
         themes/blue/css --> public/blog/css
         themes/blue/js --> public/blog/js
         themes/blue/html/404.html --> public/blog/404.html
copying resources
         content/img --> public/blog/img
         content/md/posts --> public/blog/posts
         content/md/pages --> public/blog/pages
compiling posts
--> 
                                      java.lang.Thread.run              Thread.java: 1589
        java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  642
         java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1144
                                                       ...                               
                       clojure.core/binding-conveyor-fn/fn                 core.clj: 2053
                                                       ...                               
                                 hawk.core/catch-errors/fn                 core.clj:    8
                                        clojure.core/apply                 core.clj:  667
                                                       ...                               
                              hawk.core/process-handler/fn                 core.clj:   41
   cryogen-core.watcher/start-watcher-for-changes!/handler              watcher.clj:   51
                         cryogen-core.watcher/watch-assets              watcher.clj:   28
                                                       ...                               
cryogen-core.watcher/start-watcher-for-changes!/handler/fn              watcher.clj:   51
                                        clojure.core/apply                 core.clj:  667
                                                       ...                               
                cryogen-core.compiler/compile-assets-timed             compiler.clj:  705
             cryogen-core.compiler/compile-assets-timed/fn             compiler.clj:  706
                      cryogen-core.compiler/compile-assets             compiler.clj:  677
                       cryogen-core.compiler/compile-posts             compiler.clj:  377
                         cryogen-core.compiler/render-file             compiler.clj:  340
                                                       ...                               
                                 selmer.parser/render-file               parser.clj:  122
                                 selmer.parser/render-file               parser.clj:  140
                                                       ...                               
                                       selmer.parser/parse               parser.clj:  329
                                       selmer.parser/parse               parser.clj:  357
                                  selmer.parser/parse-file               parser.clj:  327
                                                       ...                               
                selmer.template-parser/preprocess-template      template_parser.clj:  251
                selmer.template-parser/preprocess-template      template_parser.clj:  252
                      selmer.template-parser/read-template      template_parser.clj:  188
                                 selmer.validator/validate            validator.clj:  117
                            selmer.validator/validate-tags            validator.clj:  104
                                                       ...                               
                                                       io.clj:   86
                                                       io.clj:  102
                                                         io.clj:   69
                                                           io.clj:  165
                                                         io.clj:   69
                                                           io.clj:  238
                            java.io.FileInputStream.<init>     FileInputStream.java:  158
                              java.io.FileInputStream.open     FileInputStream.java:  219
                             java.io.FileInputStream.open0      FileInputStream.java     
java.io.FileNotFoundException: /home/robbie/Wrkspc/blog-cryogen/test-blog/themes/blue/html (Is a directory)
"Elapsed time: 39.972217 msecs"

Nundrum 2023-12-08T16:44:28.488539Z

After some digging, I think it's just because there are no changed posts, so the list of changed assets is empty.