-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add an option to serve in release mode #34
Conversation
Gives a bit more performance and is useful for developers if they have any code using the build mode lookups that we have.
I'm not sure what "serve -release" does... won't this imply that the fyne tool is a production runner for web Fyne apps? |
Would "-no-debug" be better? |
Given that debug is off by default and we have a --debug option I'd have thought changing it so debug was only attached when debug mode is on would be the logical approach. |
Hmm, yeah. Good point. The problem I'm trying to solve is that I want the improved performance from building in release mode without webgl_debug.js. Note sure what the best option is? |
Remove the debug file unless --debug flag is set? |
Sounds good. That can also enable the visual debug mode. |
I have changed the implementation now. Should be good to go :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks like a good solution.
Gives a bit more performance (related to if we have webgl debug on or not) and is generally useful for developers if they have any code using the build mode lookups that we have.