# Nonstop Typescript SDK

## Local Development

1. Run `npm install`
2. Run `npm run build` to build the SDK from source.
3. Run `npm run demo` which will open a web browser at [the demo site](http://localhost:3000) so it's possible to read the documentation and iterate on the SDK
4. Run `npm run watch` which will watch the SDK files for changes and reload your browser when things are changed

**NOTE**: If you have another running instance of BrowserSync then you will be allocated a different port other than 3000 for the demo site. This will mean that nothing will work and you will see CORS errors in your browser console. Please close all other instances of browser sync and run `npm run demo` again