garden
garden copied to clipboard
Compiler was not able to output to paths where some folder did not exist yet
The compiler uses until now the spit function to create the file where the output Is written.
Typically outputs of the compiler are written to a target or public folder that holds autogenerated css, js, html. It is not untypical that a cleaning workflow removes the whole folder that contains autogenerated files, and that would mean that next runs of the compiler would not be able to complete the action as the folder no longer exists.
There is an existing function precisely for this, to be called before spit. I've just added it.