# @shopify/theme-hot-reload

[![Build status](https://badge.buildkite.com/a6b763e2a7156c467ac9175d86c935b62457f9a7059d3c3902.svg)](https://buildkite.com/shopify/theme-hot-reload)

This is a library for hot reloading the development theme in local development, the Online Store Editor, and Theme Preview.

## Contributing

Check the [CONTRIBUTING.md](./CONTRIBUTING.md) file to understand how to set up your development environment. Once you've made changes to the codebase, follow these steps:

- **1. Create a new changeset**: Use the `changeset` command to create a new changeset for your changes
    ```bash
    pnpm changeset
    ```

- **2. Commit your changes**: Commit your changes with a descriptive commit message

- **3. Push your changes**: Push your changes to the theme-hot-reload repository on GitHub

- **4. Create a pull request**: Go to the theme-hot-reload repository and click on the "New Pull Request" button

- **5. Describe your changes**: Write a clear and concise description of the changes you've made, the issue or feature request they address, and any additional information that might be helpful to reviewers

- **6. Submit your pull request**: Click the "Create Pull Request" button to submit your PR for review

## Releasing

- Merge the **Version Packages** PR

- Publish the CDN asset [here](https://buildkite.com/shopify/theme-hot-reload):
  - Click on "New build"
  - Use the version number (X.Y.Z) as the message
  - Click on "Create build"

- Done!
