Waits for a MSSQL connection to become available, optionally running a custom query to determine if the connection is valid.
npm install --save wait-for-mssql
Run as a module within another script:
waitForMSSQL = require 'wait-for-mssql'
config =
username: user
password: pass
query: 'SELECT 1'
waitForMSSQL.wait(config)
Or run stand-alone
wait-for-mssql --username=user --password=pass
cake build