Every time I try to open a local application through Pow I am greeted with the following error (* = numbers):
Error: timeout: waiting for /tmp/nack.*.*.sock
at null._onTimeout (/Users/pain/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/process.js:416:29)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
After refreshing a few times the app starts and works just fine. But it is kind of annoying to do every time after a was away for a while.
Is this the expected behaviour? Is there a way to increase the timeout?
Update:
$ time rails runner "puts 1"
4.72s user 1.32s system 28% cpu 21.198 total # first time after reboot
3.73s user 0.68s system 99% cpu 4.424 total # after that
Update:
In fact the same thing applies to Sinatra app that starts pretty quick by itself. And the timeout message being displayed almost instantly, doesn't look like there is an actual timeout at all. Then on the second page refresh it works fine.
Update:
Just had to kickstart a semi-static Sinatra app like 5 or 6 time before it showed up. What gives? The app is almost instantaneous.
rails s
how log does it take? – Folksy