setupLiveReload
steal-css.CSSModule.prototype.setupLiveReload
Uses Steal live-reload to listen for changes in this module and then removes the <style> after a new version of the module has been loaded.
css.setupLiveReload(loader, moduleName)
Parameters
-
loader
{Loader}The Loader used to load this module.
-
moduleName
{moduleName}The moduleName of the module, so that we can listen for its changes.