1
0
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
Pixelastic
6442e032d8 Serve playground 2018-11-05 10:22:29 +01:00
s-pace
8e52c20a02 add a playground to use served assets 2018-11-01 15:21:03 +01:00
Pixelastic
b53d269bfe Update CONTRIBUTING and fix tests 2018-08-20 13:24:55 +02:00
Tim Carry
ef83775f7e feat(serve): Watch and serve all needed files (#91)
Running `npm run serve` will watch for changes in the source files and
rebuild all `css` and `js` files accordingly in the `dist` folder. It
will also expose the same files on `http://localhost:8080/` (by
default, if port `8080` is already taken it will move to an available
one).

This will let developers use a specific branch/version of docsearch in
their projects. Just open a new tab and run `npm run serve` in the
docsearch repo, and you'll be able to include the scripts from the
running server in your HTML.

As files are automatically regenerated on disk whenever a change is
detected, you can also `require` files by targeting the `dist` folder.
2016-05-12 11:58:28 +02:00
Pixelastic
31e5d139d5 feat(serve): Add npm run serve to expose js and css locally 2016-03-10 10:46:46 +01:00