Re:Modern JavaScript for Ancient Web Developers
by jacobr on Friday March 24, 2017 @02:07AM
(#13947017)
Do you generally run long running tasks such as a dev server with Make?
[ Parent
| on HN ]
Re:Modern JavaScript for Ancient Web Developers
by andreareina on Friday March 24, 2017 @11:09AM
(#13949387)
Not the GP, but if I'm going to use make anyway, sure. init/systemd/upstart scripts for a system install, make run for a local install. It's exactly the same idea as running "node start" (apologies if I have the invocation wrong, I'm not really familiar with the node ecosystem).
Re:Modern JavaScript for Ancient Web Developers
by ktRolster on Friday March 24, 2017 @03:05PM
(#13951367)
A makefile is just a way to group commands together conveniently (at least, that's one aspect of it). So you can just type "make run-server" or whatever you want and it's just like running a script.
It's probably not something I would do on a production server, but it wouldn't hurt either.