add the fs.watch function which takes a path and a callback.
it will notify of any file events for the given path.
this function also returns a "watcher" object which
has start and stop functions.
* website: add padding to home page
* docs: slight touch ups to readme
* website: reword/reformat content on home and getting started page
* website: fix docs page layout
- the sidenav for doc pages looks the same as the navbar.
- it will be hidden by default on mobile.
- sidenav looks like the navbar on mobile and is more
seamless in general
* docs: update description, logo, dont center badges
* docs: fix badges
* website: fix padding
* website: add borders, add margins for sidenav
* website: update description on homepage
* website: add margins for blog list
* chore: use new logo
* docs: use logo and text combined for readme
* docs: make logo bigger
* website: use combined logo and text asset
* docs: remove hilbish-text asset
* website: fix navbar expand button
* website: add more padding on doc pages
* website(blog): add post about website improvements
* website(blog): add post about website improvements
* website: add more detail on the install page
* website: add screenshots section
* docs: fix up screenshots section
* docs: remove toc and image alignment
my absolutely terrible april fools release was made on a separate branch. this pr merges the fixes on master so history can be synced up. (and mainly to get the 2.1.2 blog post)
* feat: add read method to sinks
* feat: add manual flush method for sinks
* fix: add flush as sink method and fix arg amount for read
* feat: add pipe property to sinks to see if stdin sink is a pipe
* feat: add method autoFlush to toggle/change automatic flushing
* chore: update changelog
to write output, you would usually just use the print builtin
since commanders are just lua custom commands but this does not
consider the fact of pipes or other shell operators being used
to redirect or whatever.
this adds readable/writable "sinks" which is a type for input
or output and is currently only used for commanders but can be
used for other hilbish things in the future