kmagiera / babel-watch

Reload your babel-node app on JS source file changes. And do it fast.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js

gcfabri opened this issue · comments

I am working on a project using Next.js with a custom Express server and this is the script that I use to reload on changes both server and client side. I had experiencied babel-watch on another projects and it is fastest that this combination but I cant achieve the same behavior using Next.js.

nodemon -w server server/server.js --exec babel-node --presets env

How can I do the same using babel-watch?

I'm not really sure what you're asking here, so I'm going to close pending clarification.