add chokidar and npm start

This commit is contained in:
Jordan Scales 2020-04-25 19:47:53 -04:00
parent a302f52636
commit 9b4cb16669
5 changed files with 249 additions and 9 deletions

View file

@ -48,7 +48,9 @@ Refer to the [documentation page](https://jdan.github.io/98.css/) for specific i
[`style.css`](https://github.com/jdan/98.css/blob/master/style.css) is where everything happens.
`npm run build:docs` will compile `style.css` (and all fonts/icons/etc) and rebuild the `dist/` directory which powers https://jdan.github.io/98.css. It's a static directory so serve it with your server of choice (I am partial to `python -m SimpleHTTPServer 3000`) to see your changes.
You can use `npm start` to start a development environment that will watch for file changes and rebuild 98.css, serving everything on localhost.
You can run a build manually with `npm run build`. This will write to the `dist/` directory.
### Issues, Contributing, etc.