source/index.js
function wait_for(condition, proceed)
		{
			function check()
			{
				// if the condition is met, then proceed
				if (condition())
				{
					return proceed()
				}

				message_timer += check_interval

				if (message_timer >= message_interval)
				{
					message_timer = 0

					tools.log.debug(`(${tools.webpack_assets_path} not found)`)
					tools.log.info('(waiting for the first Webpack build to finish)')
				}

				setTimeout(check, check_interval)
			}

			check()
		}
function wait_for(condition, proceed)
		{
			function check()
			{
				// if the condition is met, then proceed
				if (condition())
				{
					return proceed()
				}

				message_timer += check_interval

				if (message_timer >= message_interval)
				{
					message_timer = 0

					tools.log.debug(`(${tools.webpack_assets_path} not found)`)
					tools.log.info('(waiting for the first Webpack build to finish)')
				}

				setTimeout(check, check_interval)
			}

			check()
		}
function wait_for ( condition , proceed ) { function check ( ) { // if the condition is met, then proceed if ( condition ( ) ) { return proceed ( ) } message_timer += check_interval if ( message_timer >= message_interval ) { message_timer = 0 tools . log . debug ( ` ${ tools . webpack_assets_path } ` ) tools . log . info ( '(waiting for the first Webpack build to finish)' ) } setTimeout ( check , check_interval ) } check ( ) }
waits for condition to be met, then proceeds
waits for condition to be met then proceeds