Created
February 19, 2014 16:45
-
-
Save Kenty/9096000 to your computer and use it in GitHub Desktop.
browser-sync setting file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
|-------------------------------------------------------------------------- | |
| Browser-sync config file | |
|-------------------------------------------------------------------------- | |
| | |
| Please report any issues you encounter: | |
| https://github.com/shakyShane/browser-sync/issues | |
| | |
| For up-to-date information about the options: | |
| https://github.com/shakyShane/browser-sync/wiki/Working-with-a-Config-File | |
| | |
*/ | |
module.exports = { | |
/* | |
|-------------------------------------------------------------------------- | |
| Files to watch | |
|-------------------------------------------------------------------------- | |
| https://github.com/shakyShane/browser-sync/wiki/options#wiki-files | |
*/ | |
files: ["*.css", "*.php"], | |
/* | |
|-------------------------------------------------------------------------- | |
| Directories or files to exclude | |
|-------------------------------------------------------------------------- | |
| https://github.com/shakyShane/browser-sync/wiki/options#wiki-exclude | |
*/ | |
exclude: false, | |
/* | |
|-------------------------------------------------------------------------- | |
| Server | |
|-------------------------------------------------------------------------- | |
| https://github.com/shakyShane/browser-sync/wiki/options#wiki-server | |
*/ | |
server: false, | |
/* | |
|-------------------------------------------------------------------------- | |
| Proxy | |
|-------------------------------------------------------------------------- | |
| https://github.com/shakyShane/browser-sync/wiki/options#wiki-proxy | |
*/ | |
proxy: { | |
host: "wordpress.local" | |
}, | |
/* | |
|-------------------------------------------------------------------------- | |
| Ghost Mode | |
|-------------------------------------------------------------------------- | |
| https://github.com/shakyShane/browser-sync/wiki/options#wiki-ghostmode | |
*/ | |
ghostMode: { | |
clicks: true, | |
links: true, | |
forms: true, | |
scroll: true | |
}, | |
/* | |
|-------------------------------------------------------------------------- | |
| Open (true|false) | |
|-------------------------------------------------------------------------- | |
| https://github.com/shakyShane/browser-sync/wiki/options#wiki-open | |
*/ | |
open: true, | |
/* | |
|-------------------------------------------------------------------------- | |
| Timestamps (true|false) | |
|-------------------------------------------------------------------------- | |
| https://github.com/shakyShane/browser-sync/wiki/options#wiki-timestamps | |
*/ | |
timestamps: true, | |
/* | |
|-------------------------------------------------------------------------- | |
| File Timeout (milliseconds) | |
|-------------------------------------------------------------------------- | |
| https://github.com/shakyShane/browser-sync/wiki/options#wiki-filetimeout | |
*/ | |
fileTimeout: 1000, | |
/* | |
|-------------------------------------------------------------------------- | |
| Inject Changes | |
|-------------------------------------------------------------------------- | |
| https://github.com/shakyShane/browser-sync/wiki/options#wiki-injectchanges | |
*/ | |
injectChanges: true, | |
/* | |
|-------------------------------------------------------------------------- | |
| Scroll Throttle (milliseconds) | |
|-------------------------------------------------------------------------- | |
| https://github.com/shakyShane/browser-sync/wiki/options#wiki-scrollthrottle | |
*/ | |
scrollThrottle: 0, | |
/* | |
|-------------------------------------------------------------------------- | |
| Notify (true|false) | |
|-------------------------------------------------------------------------- | |
| https://github.com/shakyShane/browser-sync/wiki/options#wiki-notify | |
*/ | |
notify: true, | |
/* | |
|-------------------------------------------------------------------------- | |
| Host | |
|-------------------------------------------------------------------------- | |
| https://github.com/shakyShane/browser-sync/wiki/options#wiki-host | |
*/ | |
// Override host detection if you know the correct IP to use | |
host: "192.168.1.102", | |
/* | |
|-------------------------------------------------------------------------- | |
| Excluded File Types | |
|-------------------------------------------------------------------------- | |
| https://github.com/shakyShane/browser-sync/wiki/options#wiki-excludedfiletypes | |
*/ | |
excludedFileTypes: [], | |
/* | |
|-------------------------------------------------------------------------- | |
| Reload Delay | |
|-------------------------------------------------------------------------- | |
| https://github.com/shakyShane/browser-sync/wiki/options#wiki-reloadDelay | |
*/ | |
reloadDelay: 0 | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment