Skip to content

TheSuitcase/electron-react-hot-reload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an beta version! Use at your own risk.


Electron React Hot Reload

Develop your Electron React at lightning speed.

Install

npm install thesuitcase/electron-react-hot-reload

Usage

Note: We are using gulp 4.0 for this example.

...[imports]

function js(){
  return gulp
    .src(['./src/**/*.jsx', './src/**/*.js'], {since: gulp.lastRun(js)})
    .pipe(electronReactHotReload())
    .pipe(babel())
    .pipe(gulp.dest('./app'))
}

watch(['./src/**/*.jsx', './src/**/*.js'], js)

gulp.task('default', gulp.series(clean, js))

Releases

No releases published

Packages

No packages published