0.6.25 • Published 6 months ago

ember-webpack-hot-reload v0.6.25

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

ember-webpack-hot-reload

Ember Webpack server with hot reload.

this can hot reload

  • helpers
  • modifiers
  • components + templates, fcct components and its deps
  • routes/controllers/route-templates (although it refreshes the whole route and thus looses all state)

it cannot hot reload local properties that turn out to be helpers/modifiers/components. will be worked on soon...

this will not work:

<this.MyComponent  {{this.myModifier}} />
{{this.myHelper}}
{{#let (component 'x') as |comp|}}
  {{comp}} -- will no hot reload, not sure if this is a bug
  <comp /> -- will hot reload
  {{#comp}}{{/comp}} -- will hot reload
{{/let}}

Compatibility

  • Ember.js v4.8 or above
  • Embroider or ember-auto-import v2

Installation

ember install ember-webpack-hot-reload

Usage

update your ember-cli-build.js with

return require('@embroider/compat').compatBuild(app, require('ember-webpack-hot-reload').Webpack, {...});

can be disabled by setting

devServer.enabled = false;

or just disable hot reload by setting

devServer.hot = false

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

0.6.25

6 months ago

0.6.24

6 months ago

0.6.23

6 months ago

0.6.22

6 months ago

0.6.21

6 months ago

0.6.20

6 months ago

0.6.19

6 months ago

0.6.18

6 months ago

0.6.17

6 months ago

0.6.16

6 months ago

0.6.15

6 months ago

0.6.14

6 months ago

0.6.13

6 months ago

0.6.12

6 months ago

0.6.11

6 months ago

0.6.10

6 months ago

0.6.9

6 months ago

0.6.8

6 months ago

0.6.7

6 months ago

0.6.6

6 months ago

0.6.5

6 months ago

0.6.4

6 months ago

0.6.3

6 months ago

0.6.2

6 months ago

0.6.1

6 months ago

0.6.0

6 months ago

0.5.0

6 months ago

0.4.0

6 months ago

0.3.0

6 months ago

0.2.0

6 months ago

0.1.0

6 months ago