Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(serve): Watch and serve all needed files #91

Merged
merged 1 commit into from
May 12, 2016

Conversation

pixelastic
Copy link
Contributor

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.

@algobot
Copy link

algobot commented Apr 15, 2016

By analyzing the blame information on this pull request, we identified @Shipow, @maxiloc and @kokliKo to be potential reviewers

@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.219% when pulling c362a3d on feat/npm-run-serve into 40ffa04 on develop.

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.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.219% when pulling bc451bc on feat/npm-run-serve into 40ffa04 on develop.

@vvo
Copy link
Contributor

vvo commented Apr 15, 2016

This coveralls bot is triggering some good noise when nothing change :D

@ElPicador ElPicador merged commit ef83775 into develop May 12, 2016
@ElPicador ElPicador deleted the feat/npm-run-serve branch May 12, 2016 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants