         cwd: 'theme/settings'
         src: 'settings_schema.json'
         dest: '.build/config'
+      sections:
+        expand: true
+        cwd: 'theme/sections'
+        src: '*.liquid'
+        dest: '.build/sections'
       snippets:
         expand: true
         cwd: 'theme/snippets'

            'config/**',
            'layout/**',
            'locales/**',
            'snippets/**',
            'templates/**'
          ]
        ]

    # Clean up generated files.
    clean: ['dist', '.build/assets', '.build/config', '.build/layout', '.build/locales', '.build/snippets', '.build/templates']

    # Watch task.
    watch:

          'theme/layout/*.liquid',
          'theme/locales/*.json',
          'theme/settings/settings_schema.json',
          'theme/sections/*.liquid',
          'theme/snippets/*.liquid',
          'theme/templates/**/*.liquid',
          'theme/assets/static/' + STATIC_ASSETS_PATTERN
