akirikovich / html-server

2 stars 1 forks source link

Start, Stop and Restart command for server #4

Open vitkarpov opened 10 years ago

vitkarpov commented 10 years ago

It needs to stop server and restart sometimes

akirikovich commented 10 years ago

How do you want do these operations? Via command line? I'm sorry, because i haven't got any skills in server creating and if you give me more extensive description of this task it would be helpful for me.

vitkarpov commented 10 years ago

Yep! I think it would be great if I can do smth like this:

$ ./node_modules/html-server/server.js start
$ ./node_modules/html-server/server.js stop
$ ./node_modules/html-server/server.js restart

If there is no command

./node_modules/html-server/server.js

It could be started then by default

akirikovich commented 10 years ago

Clearly! Thanks a lot!

I will do it on this week.