diff --git a/client/modules/IDE/components/Header/Toolbar.jsx b/client/modules/IDE/components/Header/Toolbar.jsx index dc3731cec6..f61f56ed0e 100644 --- a/client/modules/IDE/components/Header/Toolbar.jsx +++ b/client/modules/IDE/components/Header/Toolbar.jsx @@ -87,6 +87,9 @@ const Toolbar = (props) => { checked={autorefresh} onChange={(event) => { dispatch(setAutorefresh(event.target.checked)); + if (event.target.checked) { + dispatch(startSketch()); + } }} />