Sha256: cd92c7f10c89542d59c0be975455d302ac53caafc78fa5e5d1c26d665c46838f

Contents?: true

Size: 398 Bytes

Versions: 4

Compression:

Stored size: 398 Bytes

Contents

group :development do
	guard :puma, port: 4000 do
		watch('Gemfile.lock')
		watch('config.ru')
		watch(%r{^config|lib|pages/.*})
	end
	
	# Open the documentation website when the command is run, once puma has started:
	require 'launchy'
	$first_time = true
	
	url_path = 'run/url.txt'
	watch(url_path) do
		if $first_time
			$first_time = false
			Launchy.open(File.read(url_path))
		end
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
utopia-2.0.3 documentation/Guardfile
utopia-2.0.2 documentation/Guardfile
utopia-2.0.1 documentation/Guardfile
utopia-2.0.0 documentation/Guardfile