docs(serverOptions): moved options from archived doc to the docs section#1287
docs(serverOptions): moved options from archived doc to the docs section#1287JosefBredereck merged 3 commits intopattern-lab:devfrom
Conversation
… docs section to include those options more prominently
| | host | "0.0.0.0" | Set the address to bind to. Defaults to 0.0.0.0 or process.env.IP. | | ||
| | root | "/public" | Set root directory that's being served. Defaults to cwd. | | ||
| | open | false | When false, it won't load your browser by default. | | ||
| | ignore | 'scss,my/templates' | Comma-separated string for paths to ignore. | |
There was a problem hiding this comment.
This needs to be ignorePattern. ignore will overwrite the default not to watch public.root aka public/
There was a problem hiding this comment.
@JosefBredereck good catch. I‘ve copied these out of the linked page but even also just realized that they don‘t match the implementation (any more).
There was a problem hiding this comment.
Can you adjust this?
There was a problem hiding this comment.
@JosefBredereck I’m wondering about the best approach here.
I will insert ignorePattern. But regarding „ignore“: As it’s actually a provided option, should we either leave it out or just describe it correctly and warn about any overwriting? I tend to do the latter, to ensure completeness, avoid surprises and give those opportunities, that would like to tweak things to the next level.
What do you think?
according to the implementation
Summary of changes:
Moved options settings for the live-server from archived document to the pages docs section, to include those options more prominently.