Maybe need to add svg there? Anything else? Communicating with livereload.js Live image reloading is limited to jpg, jpeg, gif, and png extensions. Any other places where images can be mentioned? Live image reloading is limited to, background-image and border-image styles. (We also wait 200 more milliseconds and recreate the rule again, in case those initial 200ms were not enough.) This prevents a flash of unstyled content. Our workaround is to add a temporary element for the imported stylesheet we're trying to reload, wait 200ms to make sure WebKit loads the new file, then remove and recreate the rule. Modifying a CSS rule to reference a not-yet-cached file causes WebKit to lose all document styles, so we have to apply a workaround that causes a lag. Live reloading of imported stylesheets has a 200ms lag. You can specify external plugins order by adding each plugin id into pluginOrder or just use external to run all external plugins in default order. This means LiveReload will only try to do live css and img reloading, regardless of any external plugins. If you're using LiveReloadOptions object on page, then define array of plugins: Īlternatively, you can define pluginOrder to match your workflow.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |