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?
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
Was this fixed on master by https://github.com/facebookincubator/create-react-app/pull/1032?
Yes, it was fixed. Thanks!
Closing. The fix will be out in the next release (0.8.0).
Most helpful comment
Closing. The fix will be out in the next release (0.8.0).