Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-inject-live-reload

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-inject-live-reload

Plugin for ember-cli that injects live-reload script into HTML content.

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
123K
increased by5.25%
Maintainers
3
Weekly downloads
 
Created

What is ember-cli-inject-live-reload?

The ember-cli-inject-live-reload package is an Ember CLI addon that injects live-reload functionality into your Ember application. This allows for automatic reloading of the application in the browser whenever changes are detected in the source code, which significantly speeds up the development process.

What are ember-cli-inject-live-reload's main functionalities?

Automatic Live Reload

This feature enables automatic live reloading of the application whenever changes are detected in the source code. By setting `liveReload: true` in the EmberApp configuration, the addon will inject the necessary scripts to enable live reloading.

module.exports = function(defaults) {
  let app = new EmberApp(defaults, {
    liveReload: true
  });
  return app.toTree();
};

Custom Live Reload Port

This feature allows you to specify a custom port for the live reload server. By setting the `port` option within the `liveReload` configuration, you can control which port the live reload server listens on.

module.exports = function(defaults) {
  let app = new EmberApp(defaults, {
    liveReload: {
      port: 35729
    }
  });
  return app.toTree();
};

Live Reload Host

This feature allows you to specify a custom host for the live reload server. By setting the `host` option within the `liveReload` configuration, you can control which host the live reload server uses.

module.exports = function(defaults) {
  let app = new EmberApp(defaults, {
    liveReload: {
      host: 'localhost'
    }
  });
  return app.toTree();
};

Other packages similar to ember-cli-inject-live-reload

Keywords

FAQs

Package last updated on 14 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc