qualialabs / reval

Instant Meteor reloads
MIT License
98 stars 15 forks source link

Cannot clear patches #23

Open 1jerry opened 6 years ago

1jerry commented 6 years ago

On my computer the "Clear" (and Clear All) button resets the copy in editor, but does NOT re-eval the page nor clear the item from the list or reval collection. This happens with both Jade and HTML. I have no messages on the server or in the console.

Using version 0.2.0 on Chrome 61 on Windows 10 using Meteor version 1.4.2.3 with FlowRouter, ViewModel, MeteorToys.

veered commented 6 years ago

Thanks for opening this issue! I'll take a look over the weekend. I also have a number of updates+bugfixes that I haven't yet published which might fix this issue. Hopefully I'll be able to do it this weekend.

veered commented 6 years ago

Also, how are you using Reval right now? Via the in-browser editor or an editor plugin?

1jerry commented 6 years ago

in-browser.

1jerry commented 6 years ago

Update: with brand new "simple-todos" app, I can clear patches before doing a save-all ctrl-shft-S. Patches created incorrectly after the save cannot be cleared.

Also, version 1.1.1 is missing the "Clear All" button.