Skip to content

Commit

Permalink
fix: livereload was enabled for nollup
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobrosenberg committed Oct 26, 2020
1 parent 440b94f commit bbf48f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/plugins/nollup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ module.exports.default = {
config: {
...app.config.rollup,
plugins: [
...app.config.rollup.plugins.filter(plugin => plugin.name !== 'hot'),
...app.config.rollup.plugins.filter(plugin =>
!['hot', 'livereload'].includes(plugin.name)
),
hmr({ inMemory: true, public: staticDir, compatNollup: true })
]
},
Expand Down

0 comments on commit bbf48f1

Please sign in to comment.