def start
     if File.exist? 'config.yml'
        Notifier.notify "Watching for changes to Shopify Theme"
      else
        data = <<-EOF
---
:api_key: YOUR_API_KEY
:password: YOUR_PASSWORD
:store: YOURSHOP.myshopify.com
:theme_id: 'YOUR_THEME_ID'
:ignore_files:
- README.md
- CHANGELOG.md
EOF
        File.open('./config.yml', "w") { |file| file.write data }
        Notifier.notify "Created config.yml. Remember to add your Shopify details to it."
      end
    end
def start
     if File.exist? 'config.yml'
        Notifier.notify "Watching for changes to Shopify Theme"
      else
        data = <<-EOF
---
:api_key: YOUR_API_KEY
:password: YOUR_PASSWORD
:store: YOURSHOP.myshopify.com
:theme_id: 'YOUR_THEME_ID'
:ignore_files:
- README.md
- CHANGELOG.md
EOF
        File.open('./config.yml', "w") { |file| file.write data }
        Notifier.notify "Created config.yml. Remember to add your Shopify details to it."
      end
    end
VERSION = "0.0.1"
 Called once when Guard starts. Please override initialize method to init stuff.

 @raise [:task_has_failed] when start has failed
 @return [Object] the task result