mineshaftgap / d4m-nfs

Docker for Mac with NFS for performance improvements over osxfs
295 stars 26 forks source link

fsevents / inotify #9

Closed Vanuan closed 5 years ago

Vanuan commented 7 years ago

If this is a custom script anyway, would it be possible to integrate filesystem notifications?

if-kenn commented 7 years ago

Without further information it would be hard for me to answer this.

If you are asking for me to bundle in fsevents / inotify into d4m-nfs, then no, I don't want to do that in order to keep it to the simplest it can be.

On the other hand, I have thought about adding "post run" scripts that can be run in the moby VM or Mac after things are setup, so that might work for you.

mrfelton commented 7 years ago

This would be super useful as it would enable us to run a local development environment in watch mode (restarting servers, recompiling code etc on file change) with near native performance using this setup.

yvess commented 7 years ago

I have written a sublime text plugin which triggers a file touch in the xhyve vm on file saving. This enables auto reload, recompiling with sublime text. see https://github.com/yvess/sublime_d4m. I'm using the d4m screen session for this.

if-kenn commented 7 years ago

@yvess that is a great solution!

if-kyle commented 7 years ago

@yvess cool, added a link from the d4m README

yvess commented 7 years ago

you can now install sublime_d4m with sublime package control, just enter d4m

darwinwu13 commented 7 years ago

do you have any solution for Webstorm IDE ?

if-kyle commented 7 years ago

@darkeus We are not aware of anyone that has written this for Webstorm.

darwinwu13 commented 7 years ago

@if-kyle i see, but i am using webstorm to code my React Application, so i need the inotify fsevents to notify webpack so it can auto compile, i just don't know how to add "post run" script like @if-kenn said

if-kenn commented 5 years ago

We are officially deprecating this project. We will leave it in place in case it can help some people migrate to NFS volumes from the command line or compose.