kevinbarabash / live-proxy

Live reloading for JavaScript + sand boxing.
http://kevinbarabash.github.io/live-proxy/
3 stars 0 forks source link

provide a way to update number literals in the AST directly #11

Open kevinbarabash opened 8 years ago

kevinbarabash commented 8 years ago

Currently transform takes a string and returns a string. Instead, it should return an object that contains the transformed strings as well as the transformed AST. The transformed AST could then be modified to update number literals allowing us to bypass linting and parsing when doing certain types of live updates.