Created
March 27, 2017 16:32
-
-
Save matomesc/c749e1e3c8834fab1ac376c49cbeb314 to your computer and use it in GitHub Desktop.
Ionic 2: Run live-reload server over ssl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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