-
-
Notifications
You must be signed in to change notification settings - Fork 328
Improve idom.run warning #724
Copy link
Copy link
Closed
Labels
flag-good-first-issueA well defined and self-contained task.A well defined and self-contained task.type-revisionAbout a change in functionality or behaviorAbout a change in functionality or behavior
Milestone
Metadata
Metadata
Assignees
Labels
flag-good-first-issueA well defined and self-contained task.A well defined and self-contained task.type-revisionAbout a change in functionality or behaviorAbout a change in functionality or behavior
Type
Fields
Give feedbackNo fields configured for issues without a type.
Current Situation
Currently, the idom.run warning does not provide anything actionable. When users see
You are running a development server. Change this before deploying in production!they will not understand what to change in order to resolve this warning.Proposed Actions
I recommend changing the warning to this:
idom.run() is only intended for testing purposes. For production use, consider embedding IDOM within an existing project. Check out the docs for more info.