Hacker News new | past | comments | ask | show | jobs | submit login

Do you manually invoke "make" every time you edit a file on the server? Nodejs has tools to automate this (and make it fast).



Most UNIXes already have a command line tool for this. It's called entr: http://entrproject.org


I'm surprised no one has mentioned editors yet. We are an emacs shop here so we all just use an after-save-hook embedded as a comment in the source to automatically trigger a rebuild, whenever you save the file. No need for a separate tool to watch files.


I have a make task that uses chokidar to watch changes to my JS and CSS. When one changes, chokidar then calls another make task to rebuild things.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: