Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ComfyUI class setup procedure #846

Merged
merged 1 commit into from
Sep 16, 2024
Merged

Fix ComfyUI class setup procedure #846

merged 1 commit into from
Sep 16, 2024

Conversation

huchenlei
Copy link
Member

ComfyUI constructor is called immediately when app.ts is imported. At that time, the vue app is not available in both production and test.

This PR adds a IS_TEST flag on window to help distinguish test run and production run.

@huchenlei huchenlei merged commit 45a866f into main Sep 16, 2024
9 checks passed
@huchenlei huchenlei deleted the fix_setup branch September 16, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant