make autorefresh time a little longer
This commit is contained in:
parent
58d0dba167
commit
fe13349850
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class Editor extends React.Component {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this._cm.on('change', debounce(200, () => {
|
this._cm.on('change', debounce(400, () => {
|
||||||
this.props.setUnsavedChanges(true);
|
this.props.setUnsavedChanges(true);
|
||||||
this.props.updateFileContent(this.props.file.name, this._cm.getValue());
|
this.props.updateFileContent(this.props.file.name, this._cm.getValue());
|
||||||
if (this.props.autorefresh && this.props.isPlaying) {
|
if (this.props.autorefresh && this.props.isPlaying) {
|
||||||
|
|
Loading…
Reference in a new issue