Skip to content

Watch Server

There is also a watch server, because you can start to see all events in real time.

Info

You can find out more about the watch server in the library documentation. This documentation is limited to bundle integration.

Configuration

To do this, you have to add the following configuration for the dev environment:

patchlevel_event_sourcing:
    watch_server:
        enabled: true

Warning

Use this configuration for dev purposes only!

Watch

There is then a new command to start the watch server:

bin/console event-sourcing:watch

Note

The command can be terminated with ctrl+c or control+c.