I think I have gotten a little closer. There is a .cache
directory in my Meteor project, and every time I edit a file a new json file gets added to that directory, which would result in the server restarting.
You need to set an environment variable BABEL_CACHE_DIR
for example export BABEL_CACHE_DIR=/tmp/project.cache
1 Like