I use bin/console server:run(or app/consolefor the Sf2 directory structure) to develop applications using Symfony2. Unfortunately, on several systems, it dies in the end (usually due to segfault).
I tried several versions of PHP and operating systems (5.5, 5.6 on Ubuntu 14.10 and 15.04, OS X 10.9 and 10.10).
I reported errors and continue to work, but it annoys me that I have to periodically restart the server manually.
I tried to do something like this as a "build target":
until bin/console server:run -v; do \
sleep 1; \
done
But, unfortunately, it only works occasionally (I have not yet determined the reason why it did not restart the server).
Can you recommend another way to save this server preferably without changing the global services / daemons?
source
share