Skip to content

Tries to live reload JS while not in dev #3

@gregose

Description

@gregose

Any way you could make

<script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script>
only inject the script if it is running in dev mode? I am assuming this is just for testing while doing dev?

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