Sha256: 9e6430db51e16fe403a00b0aaeb20b50a2835c772e1612d1621d2d1bfa141796
Contents?: true
Size: 547 Bytes
Versions: 16
Compression:
Stored size: 547 Bytes
Contents
# frozen_string_literal: true require "bundler/gem_tasks" require "rake/testtask" Rake::TestTask.new do |t| t.pattern = "test/**/test_*.rb" end task(default: :test) desc "Starts Sinatra and Ember servers" task :client_dev do begin pid = spawn("cd website && LOGSTER_ENV=development BUNDLE_GEMFILE=Gemfile bundle exec rackup --host 0.0.0.0") pid2 = spawn("cd client-app && ember s --proxy http://localhost:9292") Process.wait pid Process.wait pid2 rescue Interrupt => e sleep 0.5 puts "Done!" exit 0 end end
Version data entries
16 entries across 16 versions & 1 rubygems