File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 22 * @module BrowserSync.options
33 */
44module . exports = {
5+
6+ /**
7+ * @property cwd
8+ * @type string
9+ * @since 2.23.0
10+ */
11+
512 /**
613 * Browsersync includes a user-interface that is accessed via a separate port.
714 * The UI allows to controls all devices, push sync updates and much more.
@@ -35,6 +42,35 @@ module.exports = {
3542 */
3643 watchEvents : [ "change" ] ,
3744
45+ /**
46+ * Watch files automatically
47+ * @property watch
48+ * @type Boolean
49+ * @default false
50+ * @since 2.23.0
51+ */
52+ watch : false ,
53+
54+ /**
55+ * Patterns for any watchers to ignore. Anything provided here
56+ * will end up inside `watchOptions.ignored`
57+ * @property ignore
58+ * @type Array
59+ * @default []
60+ * @since 2.23.0
61+ */
62+ ignore : [ ] ,
63+
64+ /**
65+ * Serve an index.html file for all non-asset routes. Useful
66+ * when using client-routers
67+ * @property single
68+ * @type Boolean
69+ * @default false
70+ * @since 2.23.0
71+ */
72+ single : false ,
73+
3874 /**
3975 * File watching options that get passed along to [Chokidar](https://github.com/paulmillr/chokidar).
4076 * Check their docs for available options
You can’t perform that action at this time.
0 commit comments