Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yessss thank you!

7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ To install, either download the repo, or as I would recommend, use [Pathogen](ht
git clone git://github.com/jaxbot/browserlink.vim.git
```

If you haven't already, you'll need to install [Node.js](http://nodejs.org/) (Node is used to send refresh commands to your page(s))
If you haven't already, you'll need to install [Node.js](http://nodejs.org/)
(Node is used to send refresh commands to your page(s)) and
[npm](https://www.npmjs.com) (Node Packet Manager, which manages
dependencies for Node.js apps)

Next, navigate to where you cloned browserlink.vim and run `npm install`

Lastly, you need some javascript on your page(s) to listen for the refresh commands. For this there are two options:

Expand Down
37 changes: 37 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "browserlink.vim",
"version": "2.6.0",
"description": "Live browser editing for Vim",
"main": "browserlink/browserlink.js",
"directories": {
"doc": "doc"
},
"dependencies": {
"websocketserver":"*",
"http":"*",
"fs":"*",
"path":"*"

},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jaxbot/browserlink.vim.git"
},
"keywords": [
"vim",
"html",
"css",
"js",
"php",
"nodejs"
],
"author": "jaxbot",
"license": "MIT",
"bugs": {
"url": "https://github.com/jaxbot/browserlink.vim/issues"
},
"homepage": "https://github.com/jaxbot/browserlink.vim#readme"
}