Skip to content

Filename of client script #139

@patocallaghan

Description

@patocallaghan

This is a minor issue.

Currently we include the below snippet into our version controlled files for use when developing. During our build step we work out the user's current IP address and we also strip it out of our HTML for production.

<script src='//192.168.1.62:3000/socket.io/socket.io.js'></script>
<script>var ___socket___ = io.connect('http://192.168.1.62:3000');</script>
<script src='//192.168.1.62:3001/client/browser-sync-client.0.7.5.js'></script>

I don't know the reasoning behind it but is it possible the remove the version number from the browser-sync-client to become browser-sync-client.js so when we update our browsersync version it would be picked up in the HTML automagically? This would be similar to how jquery works on Bower. They just have a jquery.js file irrespective of version.

Thanks,
Pat

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions