tapio/live-server

Error(s) in README under "Usage from node"

moos opened this issue · 0 comments

moos commented

Issue description

Under calling params:

  • ignore: should be a an array not a comma-separated string, e.g., ['scss', 'my/templates']
  • ignorePattern is missing. Also an array.
  • watch is missing
  • noCssInject is missing

It may be better to just c&p the jsdocs in index.js.

Software details

On master branch at 01cd7f9

  • Command line used for launching live-server: n/a (calling via node)
  • OS: Win10/WSL
  • Browser (if browser related): n/a
  • Node.js version: v12.20.1
  • live-server version: 1.2.1