nitoyon/livereloadx

Run as a service / Read from config

Opened this issue · 4 comments

Thanks so much for the work that you have already done on this. I, however, would love to have LivereloadX read from a config file located in /Users/username/.livereloadx or something that like that. This could then be used to set some of the default settings such as port, as well as a list of directories to watch.

If a config file is used it would also allow or LivereloadX to run as a service so you could just do a livereload start-background or some sort of command like that to have it always running.

Sounds like something which should be implemented on top of livereloadx and not built in.

@elsassph Why so? Seems like having LiveReload X being able to read from a config file should be something built into it as its a pretty standard feature for an application to load certain defaults unless overridden by a config file rather it being in the users home directory or within /etc/

Sorry I was thinking about the service - yes a config file could be a thing. Shouldn't be too hard in fact, maybe you can contribute that?

Disclaimer: I'm not the maintainer of this project - only contributed once.

Hey @elsassph ahh ok makes more sense then ;) As for contributing not sure I would be much help, while I can understand Javascript, I am not experienced in writing it.