Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Latest commit

 

History

History
22 lines (15 loc) · 742 Bytes

developing-locally.md

File metadata and controls

22 lines (15 loc) · 742 Bytes

Developing Locally 👩‍💻

To change and develop HLS.js locally, the follow steps are required

In this repository

  1. run npm link @wistia/hls.js
  2. run npm run build:watch <- this will start up the HLS.js server and watch for changes

In player-modern

  1. stop your local server if running
  2. run npm link @wistia/hls.js
  3. start your player-modern server as normal

When you're finished

  1. stop your player-modern server and the hls.js server
  2. run npm unlink @wistia/hls.js from player-modern
  3. run yarn in player-modern before restarting
    1. if you get compilation errors you may need to run yarn install --force
    2. you may need to delete the package-lock.json if it is present in player-modern