Skip to content

automate browserlink #37

@7belrhalmia

Description

@7belrhalmia

every time i wont browserlink to work :

i have to go to ~/.vim/bundle/browserlinkjs/browserlink and do :node browserlink.js

how can i automate that .

here is the script i use :

// ==UserScript==
// @name Browserlink Embed
// @namespace http://use.i.E.your.homepage/
// @Version 0.1
// @description enter something useful
// @match http://localhost/*
// @copyright 2012+, You
// ==/UserScript==

 var src = document.createElement("script");
 src.src = "http://127.0.0.1:9001/js/socket.js";
 src.async = true;
document.head.appendChild(src);

my webserver run :http://localhost/index.html port 80

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