Add callbacks to run after certain events are fired.
Applies filters to ignore files from .shopifyignore file, --ignore and --only flags.
Removes a file from the local disk and updates the file system
The key of the file to remove
Local files.
Reads a file from the local disk and updates the file system Returns a ThemeAsset representing the file that was read Returns undefined if the file does not exist
The key of the file to read
Promise that resolves when all the initial files are found.
The root path of the theme.
Starts a file watcher for the theme directory.
The ID of the theme being watched.
The admin session for API communication.
A Promise that resolves to an FSWatcher instance.
File keys that have been modified in memory and are not uploaded yet.
Stores upload errors returned when uploading files via the Asset API
Writes a file to the local disk and updates the file system
The ThemeAsset representing the file to write
Represents a theme on the file system.