HMR is not working

Live reload is not working the whole app is getting refreshed on any change.

// Import React and ReactDOM

import React from 'react'

import ReactDOM from 'react-dom'

// Import Framework7

import Framework7 from 'framework7/framework7.esm.bundle.js'

// Import Framework7-React Plugin

import Framework7React from 'framework7-react'

// Import App Component

import App from '@app/app-class'

// Icons

import '@assets/css/icons.css'

import '@fortawesome/fontawesome-free/css/all.css'

// Init F7 React Plugin


I have noticed that this line is causing issues: Framework7.use(Framework7React)