You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to detect whether my code is executed through Pluto or with the command line (ie. >julia notebook.jl) so diagnostic plots and similar things do not get computed unnecessarily. So far I have been using @bind missingifcmd html"<input type=range min=5 max=5>" and the ismissing() function. The problem is that during Pluto execution it first gets set to missing anyway for a short time causing unwanted behaviour at startup. Is there a better solution?
The text was updated successfully, but these errors were encountered:
I want to detect whether my code is executed through Pluto or with the command line (ie. >julia notebook.jl) so diagnostic plots and similar things do not get computed unnecessarily. So far I have been using
@bind missingifcmd html"<input type=range min=5 max=5>"
and theismissing()
function. The problem is that during Pluto execution it first gets set to missing anyway for a short time causing unwanted behaviour at startup. Is there a better solution?The text was updated successfully, but these errors were encountered: