Skip to content

Knowing when dev compile is done #3905

Open
@robdonn

Description

@robdonn

Is this a bug report?

No

How to tell when webpack dev compile is ready?

I want to be able to run a second process after the dev server is up and running and the compile is done, e.g. run a mock api server. Normally the webpack compiler emits a 'done' event that you can hook into and start a new process or do something else. With CRA, the compiler object is hidden away in the start script.

Is there any way of accessing this event without ejecting?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions