Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
New in master
=============

Features
--------

* New ``auto_command_starting`` signal when ``nikola auto`` is
starting

New in v8.1.3
=============

Expand Down
3 changes: 3 additions & 0 deletions nikola/plugins/command/auto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import typing
import webbrowser

import blinker
import pkg_resources

from nikola.plugin_categories import Command
Expand Down Expand Up @@ -135,6 +136,8 @@ class CommandAuto(Command):
]

def _execute(self, options, args):
blinker.signal('auto_command_starting').send(self.site)
Comment thread
Kwpolska marked this conversation as resolved.
Outdated

"""Start the watcher."""
self.sockets = []
self.rebuild_queue = asyncio.Queue()
Expand Down