New 'auto_command_starting' signal when 'nikola auto' is starting.#3513
Conversation
|
The build is failing on an unrelated test and I haven't been able to reproduce it locally as yet. 😢 |
|
Made #3514 for why the build is failiing. |
What commands, other than (Although |
|
I merged the |
Hadn't thought of any other use cases, just thinking out loud. Thanks for finishing this one. |
…etnikola#3513) * New 'auto_command_starting' signal when 'nikola auto' is starting. * Move auto_command_starting to a better place Co-authored-by: Chris Warrick <kwpolska@gmail.com>
Pull Request Checklist
Description
When adding support for the PlantUML PicoWeb server (getnikola/plugins#378) I would like
nikola autoto start one PicoWeb server and share it with all child build processes. So theplantumlplugin needs to know whennikola autois happening.The simplest solution I've thought of is a new
auto_command_startingsignal but perhaps something like these more generic solutions would be preferred?command_startingsignal including command name as a paramBasePlugin.get_command_name()(Haven't looked closely if either of those is actually possible)