Create-react-app: Request: do not reset/clear the console output

Created on 29 Sep 2016  路  6Comments  路  Source: facebook/create-react-app

My team runs this create-react-app as a single process inside docker, in order to host and build our web site (dev version).

It runs beside many other containers, such as the backend api server and our database.

When running docker (such as using docker-compose up), we get the output of all our container's stdout, which is normally great as we can see any activity as we test and use the app in development.

However, create-react-app resets/clears the console several times, effectively deleting from my screen every other container's output up until that point.

Is there a way to not reset/clear the screen or a workaround?

proposal

Most helpful comment

Closing. The fix will be out in the next release (0.8.0).

All 6 comments

Is there any way for us to determine when the output is being piped like this?

I was going to saw I didn't think so, but some googling sort of says yes:
http://stackoverflow.com/questions/911168/how-to-detect-if-my-shell-script-is-running-through-a-pipe

Is there a way to fix that problem for https://github.com/ddollar/foreman gem? cc: #1032

Yes, it was fixed. Thanks!

Closing. The fix will be out in the next release (0.8.0).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fson picture fson  路  3Comments

jnachtigall picture jnachtigall  路  3Comments

AlexeyRyashencev picture AlexeyRyashencev  路  3Comments

adrice727 picture adrice727  路  3Comments

oltsa picture oltsa  路  3Comments