Skip to content

Instantly share code, notes, and snippets.

@istro
Last active December 25, 2015 15:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save istro/6999825 to your computer and use it in GitHub Desktop.
Guardfile.
notification :growl_notify
group :website do
guard 'remote-sync',
source: '1bog/website',
destination: 'public_html/buildtop',
user: 'ivans',
remote_address: '1bogtest.org',
exclude: "/website/init_personal.php",
exclude_from: '',
delete: false,
progress: true,
verbose: true,
:sync_on_start => true do
watch %r{.*(css|php|html|js)}
end
end
group :css do
guard 'remote-sync',
source: '1bog/website/css',
destination: 'public_html/buildtop/website',
user: 'ivans',
remote_address: '1bogtest.org',
exclude_from: '',
progress: true,
verbose: true,
:sync_on_start => true do
watch(%r{^.+\.(css)$})
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment