# run_dev_server: Run a dev version of the app server in the background # # Load dev_server functions source ./script/include/dev_server_functions.inc.sh # Register trapping of SIGTERM and SIGINT trap reap SIGTERM SIGINT # Display the script PID, which will also be the process group ID for all # child processes echo "Process Group: $$" # Set server launch related environment variables DEBUG=1 LAUNCH_ARGS="$*" # Launch the app source ./script/server & wait