You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
The acceptance tests (I'm using protractor) need the compilation to be complete before they start.
When I eject I can get access to the compiler events but I'm working on a setup that doesn't allow me to eject. So I'm using react-app-rewire to make modifications to the configurations but I'm trying to figure out a way to hook into the compiler events.
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?
The text was updated successfully, but these errors were encountered: