Skip to content

livereload.js hmr included in package #1

@bcorvino

Description

@bcorvino

Hi,

I tried to use the clappr-queue-plugin, but the packaged version seems to include a reference to livereload.js, e.g.

(function(l, r) { if (l.getElementById('livereloadscript')) return; r = l.createElement('script'); r.async = 1; r.src = '//' + (window.location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1'; r.id = 'livereloadscript'; l.getElementsByTagName('head')[0].appendChild(r) })(window.document);

This causes an error when building an app with the plugin, since the deployed app tries to load livereload.js from a local path that doesn't exist.

Copying the source and including it in my code resolved the issue, so I think this may be a byproduct of your build process

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions