Skip to content

Instantly share code, notes, and snippets.

@fgeierst
Created December 23, 2020 10:38
Show Gist options
  • Select an option

  • Save fgeierst/fbf1015adf24f3ffcf9cb67b5d61c38d to your computer and use it in GitHub Desktop.

Select an option

Save fgeierst/fbf1015adf24f3ffcf9cb67b5d61c38d to your computer and use it in GitHub Desktop.
Run browsersync when VS Code is openend
/* put tasks.json in '__WORKINGDIRECTORY__/.vscode/' */
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "Run Browsersync",
"command": "browser-sync start --f \"*.*\" --proxy \"__URL__.local\"",
"problemMatcher": [],
"runOptions": { "runOn": "folderOpen" }
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment