NV / chrome-devtools-autosave

Auto-saving CSS and JavaScript changes from the Chrome Developer Tools
MIT License
1.05k stars 90 forks source link

Allow mapping of absolute urls #70

Open drewcovi opened 11 years ago

drewcovi commented 11 years ago

Currently is there a way I can map a url that's absolute (http://domain.com/.....) to my local mount?

I cant control bigcommerce's markup choice, but I can control everything else. would be really nice to allow us to only match a portion of a css include.

NV commented 11 years ago

Not really following. Autosave treats all URLs as absolute. Just put ^http://domain.com/ into the match field?..

drewcovi commented 11 years ago

I was running into a issue where big commerce wasn't actually hosting the assets on the same domain, so I could map a pattern to match my current domain, and trigger autosave but the linked stylesheets couldn't possibly found in the matching folder.