Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ionic 2: Run live-reload server over ssl
// Open locally https://github.com/driftyco/ionic-app-scripts/blob/master/src/dev-server/live-reload.ts
// and add the following options when creating the tinylr server (around line 10):
const liveReloadServer = tinylr({
key: fs.readFileSync(path.join(process.cwd(), 'proxy/server.key')),
cert: fs.readFileSync(path.join(process.cwd(), 'proxy/server.crt')),
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment