question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tried running it with forever, but doesn’t work.

Tried putting httpserver.conf into /etc/init/ on Ubuntu 14.04

start on filesystem and started networking respawn forever start which http-server -p 80 /home/(USERPATH)

But doesn’t seem to run.

Maybe add a daemon option so I don’t have to use forever?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14

github_iconTop GitHub Comments

2reactions
derhuerstcommented, Apr 27, 2016

Tried running it with forever, but doesn’t work.

What exactly did you try? forever start -c http-server . works just fine for me.

0reactions
newmizanurcommented, Sep 12, 2022

Those trying using pm2 and global installation. Try this, pm2 start /pathOfYourGlobalNodeModules/http-server/bin/http-server

Read more comments on GitHub >

github_iconTop Results From Across the Web

Daemon (computing)
In multitasking computer operating systems, a daemon is a computer program that runs as a background process, rather than being under the direct...
Read more >
DAEMON Tools - imaging software for all your needs ...
Welcome to the official site of DAEMON Tools products! Here you can find out more about one of the best imaging software or...
Read more >
Daemon Definition & Meaning
usually daemon, mythology : a supernatural being whose nature is intermediate between that of a god and that of a human being.
Read more >
daemon
a genius loci, a lar, the protective spirit or godling of a place or household · (astrology) the 11th of the 12 signs...
Read more >
What is a Daemon?
In computing, a daemon (pronounced DEE-muhn) is a program that runs continuously as a background process and wakes up to handle periodic service...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found