๋๋ nohup nodemon server.js &
ํฉ๋๋ค. nodemon์ด ๊ณง ์ฃฝ๋ ๊ฒ ๊ฐ์ต๋๋ค.
์์์ ๊ฐ์ด ์ฃฝ์์ต๋๊น? ์๋๋ฉด ์ง์๋์๋ค๊ฐ ๋ค์ ์์๋ฉ๋๊น? ์ข ๋ ๋ง์ ์ ๋ณด๋ก ํ ์ ์์ต๋๋ค. ๋๋ฒ๊น ์ ๋์์ด ๋ ๊น์?
[root<strong i="6">@vm</strong> dms]# nodemon server/server.js
19 Feb 02:53:23 - [nodemon] v1.0.14
19 Feb 02:53:23 - [nodemon] to restart at any time, enter `rs`
19 Feb 02:53:23 - [nodemon] watching: *.*
19 Feb 02:53:23 - [nodemon] starting `node server/server.js`
[root<strong i="10">@vm</strong> dms]#
[root<strong i="11">@vm</strong> dms]# nohup nodemon server/server.js &
[1] 19973
[root<strong i="12">@vm</strong> dms]# nohup: ignoring input and appending output to `nohup.out'
[1]+ Exit 1 nohup nodemon server/server.js
[root<strong i="16">@vm</strong> dms]# cat nohup.out
-----------------------------------------
Update available: 1.0.15 (current: 1.0.14)
Run npm update -g nodemon to update
-----------------------------------------
19 Feb 02:53:53 - [nodemon] v1.0.14
19 Feb 02:53:53 - [nodemon] to restart at any time, enter `rs`
19 Feb 02:53:53 - [nodemon] watching: *.*
19 Feb 02:53:53 - [nodemon] starting `node server/server.js`
exception in nodemon killing node
Error: EBADF, read
If appropriate, please file an error:
http://github.com/remy/nodemon/issues/new
2014 ๋ 2 ์ 19 ์ผ ์์์ผ ์ค์ 4:48, Remy Sharp [email protected]
์์์ ๊ฐ์ด ์ฃฝ์์ต๋๊น? ์๋๋ฉด ์ง์๋์๋ค๊ฐ ๋ค์ ์์๋ฉ๋๊น? ๋๋ ํ ์ ์์๋ค
์กฐ๊ธ ๋ ๋ง์ ์ ๋ณด. ๋๋ฒ๊น ์ ๋์์ด ๋ ๊น์?โ
์ด ์ด๋ฉ์ผ์ ์ง์ ํ์ ํ๊ฑฐ๋ Gi tHub์์ ํ์ธํ์ญ์์ค.
.
๋๋ ๋ํ ๊ฐ์ ๋ฌธ์ ์ ์ง๋ฉดํ๊ณ ์์ต๋๋ค. ์์ธ ๋ชจ๋์์ nodemon์ ์คํํ๋ ค๊ณ ํ์ง๋ง ๋ณ ๋์์ด๋์ง ์์์ต๋๋ค. nohup์ผ๋ก nodemon์ ์คํํ๋ ค๊ณ ํ๋ฉด ๋ค์๊ณผ ๊ฐ์ ์ผ์ด ๋ฐ์ํฉ๋๋ค.
work : ~ / workspace / discovery-logging> nohup nodemon --verbose serve.js &
[1] 22313
work : ~ / workspace / discovery-logging> nohup : ์
๋ ฅ์ ๋ฌด์ํ๊ณ ์ถ๋ ฅ์`nohup.out '์ ์ถ๊ฐ
[1] + exit 1 nohup nodemon --verbose serve.js
์์
: ~ / ์์
๊ณต๊ฐ / ๊ฒ์ ๋ก๊น
>
work : ~ / workspace / discovery-logging> cat nohup.out
3 ์ 5 ์ผ 04:27:30-[nodemon] v1.0.15
3 ์ 5 ์ผ 04:27:30-[nodemon] ์ธ์ ๋ ์ง ๋ค์ ์์ํ๋ ค๋ฉด rs
3 ์ 5 ์ผ 04:27:30-[nodemon] ๋ฌด์ : /home/user/workspace/discovery-logging/.git/ / * node_modules / / node_modules
3 ์ 5 ์ผ 04:27:30-[๋
ธ๋ ๋ชฌ] ์์ฒญ : _._
3 ์ 5 ์ผ 04:27:30-[nodemon] ํ์ฅ ์์ฒญ : js
3 ์ 5 ์ผ 04:27:30-[nodemon] node serve.js
3 ์ 5 ์ผ 04:27:30-[nodemon] ์์ pid : 22319
nodemon ์ข
๋ฃ ๋
ธ๋์ ์์ธ
์ค๋ฅ : EBADF, ์ฝ๊ธฐ
ํด๋นํ๋ ๊ฒฝ์ฐ ์ค๋ฅ๋ฅผ ์ ์ถํ์ญ์์ค : http://github.com/remy/nodemon/issues/new
3 ์ 5 ์ผ 04:27:30-[nodemon] ์ข ๋ฃ
๋๊ตฐ๊ฐ ๋๊ฐ์ ๋ช
๋ น์ ์คํํ ์ ์์ง๋ง --dump
๋ฅผ ์ถ๊ฐ ํ ๋ค์ ์ฌ๊ธฐ์ ์ถ๋ ฅ์ ๊ฒ์ ํ ์ ์์ต๋๊น?
-----------------------------------------
Update available: 1.0.17 (current: 1.0.15)
Run npm update -g nodemon to update
-----------------------------------------
25 Apr 13:41:14 - [nodemon] v1.0.15
25 Apr 13:41:14 - [nodemon] to restart at any time, enter `rs`
25 Apr 13:41:14 - [nodemon] ignoring: /home/aamir/workspace/saiku-ui/.git/**/* node_modules/**/node_modules
25 Apr 13:41:14 - [nodemon] watching: *.*
25 Apr 13:41:14 - [nodemon] watching extensions: js
--------------
{ run: false,
system:
{ cwd: '/home/aamir/workspace/saiku-ui',
useFind: false,
useWatch: true,
useWatchFile: false },
required: false,
dirs: [ '/home/aamir/workspace/saiku-ui' ],
timeout: 1000,
options:
{ scriptPosition: 1,
dump: true,
verbose: true,
script: 'serve.js',
args: [],
ignore:
[ '.git',
'node_modules/**/node_modules',
re: /\.git|node_modules/.*.*/node_modules/ ],
watch: [ '*.*', re: /.*\..*/ ],
restartable: 'rs',
execMap: { py: 'python', rb: 'ruby' },
stdin: true,
stdout: true,
execOptions:
{ script: 'serve.js',
exec: 'node',
nodeArgs: undefined,
ext: 'js',
env: {},
execArgs: [] },
ext: 'js',
monitor:
[ '*.*',
'!/home/aamir/workspace/saiku-ui/.git/**/*',
'!node_modules/**/node_modules' ] },
load: [Function],
reset: [Function: reset],
lastStarted: 0,
loaded: [],
command:
{ raw: { executable: 'node', args: [ 'serve.js' ] },
string: 'node serve.js' } }
--------------
OS: linux ia32
node: v0.10.26
nodemon: v1.0.15
cwd: /home/aamir/workspace/saiku-ui
command: node /usr/bin/nodemon --dump --verbose serve.js
--------------
25 Apr 13:41:14 - [nodemon] exiting
-bash-4.1# nohup nodemon --dump server/server.js &
[1] 30753
-bash-4.1# nohup: ignoring input and appending output to `nohup.out'
[1]+ Done nohup nodemon --dump server/server.js
-bash-4.1 # ๊ณ ์์ด nohup.out
Update available: 1.0.17 (current: 1.0.14)
Run npm update -g nodemon to update
-----------------------------------------
25 Apr 18:47:03 - [nodemon] v1.0.14
25 Apr 18:47:03 - [nodemon] to restart at any time, enter `rs`
25 Apr 18:47:03 - [nodemon] watching: *.*
--------------
{ run: false,
system:
{ cwd: '/www/app/dms',
useFind: false,
useWatch: true,
useWatchFile: false },
required: false,
dirs: [ '/www/app/dms' ],
timeout: 1000,
options:
{ scriptPosition: 1,
dump: true,
script: 'server/server.js',
args: [ 'server/server.js' ],
ignore:
[ '.git',
'node_modules/**/node_modules',
re: /\.git|node_modules/.*.*/node_modules/ ],
watch: [ '*.*', re: /.*\..*/ ],
restartable: 'rs',
execMap: { py: 'python', rb: 'ruby' },
stdin: true,
verbose: false,
stdout: true,
execOptions:
{ script: 'server/server.js',
exec: 'node',
nodeArgs: undefined,
ext: 'js',
env: {},
execArgs: [] },
ext: 'js',
monitor: [ '*.*', '!.git', '!node_modules/**/node_modules' ] },
load: [Function],
reset: [Function: reset],
lastStarted: 0,
loaded: [],
command:
{ raw:
{ executable: 'node',
args: [ 'server/server.js', 'server/server.js' ] },
string: 'node server/server.js server/server.js' } }
--------------
OS: linux ia32
node: v0.10.25
nodemon: v1.0.14
cwd: /www/app/dms
command: node /usr/local/bin/nodemon --dump server/server.js
--------------
๋๋ ๊ฐ์ ๋ฌธ์ ๊ฐ ์์๋ค. ์ฌ๊ธฐ ๋ด ์์
์ด ์์ต๋๋ค.
์ ์คํฌ๋ฆฝํธ exec.sh ์์ฑ
cd source
nodemon app.js
๊ทธ๋ฐ ๋ค์ nohup์ผ๋ก ์คํฌ๋ฆฝํธ๋ฅผ ์คํํ์ญ์์ค.
nohup exec.sh
ํ์ ์์ํฉ๋๋ค. ์์ง ์ด๊ฑธ ๊ฐ์ง๊ณ ๋ ๊ธฐํ๊ฐ ์์์ด์ (am on
์ก์ ํด๊ฐ),ํ์ง๋ง ๋๋ ์ดํด ๋ณด๊ฒ ์ต๋๋ค. ๋๋ ์ด๋ค ์ข
๋ฅ์
์ฌ๊ธฐ์ ์ด์ํ๊ฒ ์ ํธ๋ฅผ ๋ณด๋
๋๋ค.
2014 ๋ 5 ์ 6 ์ผ ํ์์ผ์ Sriraman [email protected] ์ ๋ค์๊ณผ ๊ฐ์ด ์ผ์ต๋๋ค.
๋๋ ๊ฐ์ ๋ฌธ์ ๊ฐ ์์๋ค. ์ฌ๊ธฐ ๋ด ์์ ์ด ์์ต๋๋ค.
์ ์คํฌ๋ฆฝํธ exec.sh ์์ฑcd ์์ค
nodemon app.js๊ทธ๋ฐ ๋ค์ nohup์ผ๋ก ์คํฌ๋ฆฝํธ๋ฅผ ์คํํ์ญ์์ค.
nohup exec.sh
โ
์ด ์ด๋ฉ์ผ์ ์ง์ ํ์ ํ๊ฑฐ๋ Gi tHub์์ ํ์ธํ์ญ์์ค.
.
โ ๋ ๋ฏธ
@sparkit noop, ๋ฐฉ๋ฒ์ ๋์ผํ ์ค๋ฅ๋ฅผ ์์ฑํฉ๋๋ค ...
๋์์ด ๋ ์ ์์ต๋๋ค : nohup nodemon app.js </dev/null &
์ธ๋ถ ์ ๋ณด : https://github.com/remy/nodemon/issues/98
๋๋ ๊ฐ์ ๋ฌธ์ ๊ฐ ์๋๋ฐ ์ด๋ป๊ฒ ์๋์ํฌ ์ ์์ต๋๊น?
@nvcken
๋ด๊ฐ ๊ฒ์ ํ ์๋ฃจ์
์ ์๋ ํ์ต๋๊น?
๋๋ nohup nodemon์ ์๋ํ์ง๋ง ์๋ํ์ง ์์ต๋๋ค.
7 ์ 8 ์ผ 15:00:57-[33m [nodemon] v1.2.0 [39m
7 ์ 8 ์ผ 15:00:57-[33m [nodemon]์ ์ธ์ ๋ ์ง ๋ค์ ์์ํ๋ ค๋ฉด rs
[39m] ์
๋ ฅ
7 ์ 8 ์ผ 15:00:57-[33 ๋ถ [๋
ธ๋ ๋ชฌ] ์์ฒญ : _._ [39 ๋ถ]
7 ์ 8 ์ผ 15:00:57-[32m [nodemon] ์์๊ฐ node ./bin/www
[39m]
events.js : 85
์ด ๋์ ธ; // ์ฒ๋ฆฌ๋์ง ์์ '์ค๋ฅ'์ด๋ฒคํธ
^
์ค๋ฅ : EADDRINUSE ๋ฃ๊ธฐ
exports._errnoException (util.js : 742 : 11)
Server._listen2 (net.js : 1126 : 14)
์์ ์ (net.js : 1148 : 10)
Server.listen (net.js : 1223 : 5)
Server.listen (/var/www/appota_inside/node_modules/livereload/lib/livereload.js:69:28)
Object.exports.createServer (/var/www/appota_inside/node_modules/livereload/lib/livereload.js:201:12)
๊ฐ์ฒด์์.
Module._compile (module.js : 449 : 26)
Object.Module._extensions..js (module.js : 467 : 10)
Module.load (module.js : 349 : 32)
7 ์ 8 ์ผ 15:00:58-[31m [nodemon] ์ฑ ์ถฉ๋-์์ํ๊ธฐ ์ ์ ํ์ผ ๋ณ๊ฒฝ ๋๊ธฐ ์ค ... [39m]
@sparkit
๋๋ ๋น์ ์ ๊ฐ์ด๋๋ก ์๋ํ์ต๋๋ค. ํ์ง๋ง ์๋ํ์ง ์์ต๋๋ค
์ด ๋ก๊ทธ๋ฅผ ๋ฐ์์ต๋๋ค
7 ์ 8 ์ผ 15:06:49-[33 ๋ถ [nodemon] v1.2.0 [39m
7 ์ 8 ์ผ 15:06:49-[33m [nodemon]์ ์ธ์ ๋ ์ง ๋ค์ ์์ํ๋ ค๋ฉด rs
[39m] ์
๋ ฅ
7 ์ 8 ์ผ 15:06:49-[33 ๋ถ [nodemon] ์์ฒญ : _._ [39m]
7 ์ 8 ์ผ 15:06:49-[32m [nodemon] ์์ node ./bin/www
[39m]
nodemon ์ข
๋ฃ ๋
ธ๋์ ์์ธ
์ค๋ฅ : EBADF, ์ฝ๊ธฐ
at Error (๋ค์ดํฐ๋ธ)
์ ์ ํ ๊ฒฝ์ฐ ๋ค์์ ์ถ๋ ฅ๊ณผ ํจ๊ป ์ค๋ฅ๋ฅผ ์ ์ถํ์ญ์์ค.
$ ๋
ธ๋ / usr / local / bin / nodemon --dump
@sparkit
nohup ./exec.sh๋ฅผ ์ฌ์ฉํฉ๋๋ค. nohup exec.sh๊ฐ ์๋ํ์ง ์๊ธฐ ๋๋ฌธ์
๋๋ค. "nohup : cannot run command`exec.sh ': No such file or directory"๊ฐ ํ์๋๊ธฐ ๋๋ฌธ์
๋๋ค.
exec.sh์ ๋ํ ๊ถํ + x๋ฅผ ์ถ๊ฐ ํ์ต๋๊น?
์ ์ฒด ๊ฒฝ๋ก๋ฅผ ์ ๊ณตํ์ญ์์ค.
exec.sh์ ๋ํด + x ๊ถํ์ ์ถ๊ฐํ์ต๋๋ค.
์ ์ฒด ๊ฒฝ๋ก๋ฅผ ์ด๋ป๊ฒ ์ ๊ณตํ๋์ง ์ค๋ช
ํด ์ฃผ์๊ฒ ์ต๋๊น?
๋ค์๊ณผ ๊ฐ์ด ๋ณด์ผ ๊ฒ์
๋๋ค.
nohup /home/nvcken/myapp/exec.sh
2014 ๋ 7 ์ 8 ์ผ ํ์์ผ ์คํ 1:48์ nvcken [email protected] ์ ๋ค์๊ณผ ๊ฐ์ด ์ผ์ต๋๋ค.
exec.sh์ ๋ํด + x ๊ถํ์ ์ถ๊ฐํ์ต๋๋ค.
์ ์ฒด ๊ฒฝ๋ก๋ฅผ ์ ๊ณตํ๋ ๋ฐฉ๋ฒ์ ์ค๋ช ํด ์ฃผ์๊ฒ ์ต๋๊น?โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/remy/nodemon/issues/296#issuecomment -48284117.
์ด์ nohup nodemon ์์
์ ์ํํฉ๋๋ค.
ํ์ง๋ง ํ์ผ js๊ฐ ๋ณ๊ฒฝ๋๋ฉด ์ค๋ฅ๊ฐ ๋ฐ์ํ๊ณ nodemon์ด ์๋์ผ๋ก ๋ค์ ์์๋์ง๋ง
7 ์ 8 ์ผ 15:39:02-[32m [nodemon] ๋ณ๊ฒฝ์ผ๋ก ์ธํด ์ฌ์์ ... [39m]
7 ์ 8 ์ผ 15:39:03-[32m [nodemon] ์์ node ./bin/www
[39m]
7 ์ 8 ์ผ 15:39:03-[32m [nodemon] ์์๊ฐ node ./bin/www
[39m]
events.js : 85
์ด ๋์ ธ; // ์ฒ๋ฆฌ๋์ง ์์ '์ค๋ฅ'์ด๋ฒคํธ
^
์ค๋ฅ : EADDRINUSE ๋ฃ๊ธฐ
grep ๋
ธ๋๋ฅผ ์กฐํํ๊ณ ์์ ๋๊ธฐ ํฌํธ 35729๊ฐ ์คํ๋๋ ๋
ธ๋ ํ๋ก์ธ์ค๊ฐ ์์ต๋๋ค.
๋ด๊ฐ ์ฃฝ์ด๋ฉด nodemon์ด ์ ์์ ์ผ๋ก ์์๋ฉ๋๋ค.
๋ฌด์จ ์ผ์ด์ผ ?
์ฌ๊ธฐ์ ๋ถ์ฌ์ฃผ์ธ์
a) ์คํ์ค์ธ nohup ๋ช
๋ น
b) exec.sh
๊ฐ์ฌ
2014 ๋ 7 ์ 8 ์ผ ํ์์ผ ์คํ 2:15์ nvcken [email protected] ์ ๋ค์๊ณผ ๊ฐ์ด ์ผ์ต๋๋ค.
์ด์ nohup nodemon ์์ ์ด ์์ต๋๋ค.
ํ์ง๋ง ํ์ผ js๊ฐ ๋ณ๊ฒฝ๋๋ฉด ์ค๋ฅ๊ฐ ๋ฐ์ํ๊ณ nodemon์ด ์๋์ผ๋ก ๋ค์ ์์๋์ง๋ง7 ์ 8 ์ผ 15:39:02-[32m [nodemon] ๋ณ๊ฒฝ์ผ๋ก ์ธํด ์ฌ์์ ... [39m]
7 ์ 8 ์ผ 15:39:03-[32m [nodemon] ์์ ๋ ธ๋ ./bin/www[39m
7 ์ 8 ์ผ 15:39:03-[32m [nodemon] ์์ ๋ ธ๋ ./bin/www[39mevents.js : 85
์ด ๋์ ธ; // ์ฒ๋ฆฌ๋์ง ์์ '์ค๋ฅ'์ด๋ฒคํธ
^
์ค๋ฅ : EADDRINUSE ๋ฃ๊ธฐgrep ๋ ธ๋๋ฅผ ์กฐํํ๊ณ ์์ ํฌํธ 35729๊ฐ ์คํ๋๋ ๋ ธ๋ ํ๋ก์ธ์ค๊ฐ ์์ต๋๋ค.
๋ด๊ฐ ์ฃฝ์ด๋ฉด nodemon์ด ์ ์์ ์ผ๋ก ์์๋ฉ๋๋ค.
๋ฌด์จ ์ผ์ด์ผ ?โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/remy/nodemon/issues/296#issuecomment -48286361.
์๋ ๋ช
๋ น ๋ง ์ฌ์ฉํฉ๋๋ค.
nohup nodemon
๊ฐ์ฌ
stdin์ ๋ฐ์ธ๋ฉ ํ ๋ ๋์ผํ ๋ฌธ์ ๊ฐ ๋ฐ์ํ๊ธฐ ๋๋ฌธ์ nodejs์ ๋ฌธ์ ๋ฅผ ์ถ๊ฐํ์ต๋๋ค. ์ด ๋ฌธ์ ์๋ ๊ด๋ จ์ด์์ ์ ์์ต๋๋ค.
https://github.com/joyent/node/issues/8410
@remy ์ด ์ค์ ์ ๊ฑฐํ๋ฉด nohup์ ์ฌ์ฉํ์ฌ ๋ฌธ์ ์์ด ์๋ํฉ๋๋ค. :)
https://github.com/remy/nodemon/blob/master/lib/nodemon.js#L106
nohup nodemon app.js๋ ๋๋ฅผ ์ํด ์๋ํฉ๋๋ค!
๊ฐ์ฌ!
nohup nodemon app.js๋ ๋๋ฅผ ์ํด ์๋ํฉ๋๋ค!
๋๋จํ ๊ฐ์ฌํฉ๋๋ค ;-)
๋ฐฐ๊ฒฝ์ ๋ฃ์ ์๋ ์์ง๋ง ssh ์ฐ๊ฒฐ์ ๋ซ์ ํ nodemon์ด ์ค์ง๋์์ต๋๋ค. ssh์ ๋ค์ ์ฐ๊ฒฐ ํ ํ์๋ ๋ฐฐ๊ฒฝ์ ํจํค์ง๊ฐ ์๊ธฐ ๋๋ฌธ์ ๋๋ค.
Last login: Mon Jul 25 10:01:35 2016 from 46.224.238.119
hello<strong i="6">@ubuntu</strong>:~$ fg
-bash: fg: current: no such job
๋ ๋ค๋ฅธ ๊ฐ๋ฅํ ํด๊ฒฐ์ฑ :
nohup nodemon -I app.js
-I ์ค์์น๋ nodemon์ด ์ ๋ ฅ ์คํธ๋ฆผ์ด ์๊ธฐ ๋๋ฌธ์ nohup์์ ํ์ฉ๋์ง ์๋ STDIN์ ์ฌ์ฉํ๋ ๊ฒ์ ๋ฐฉ์งํฉ๋๋ค.
~ @Fistynuts ํฅ๋ฏธ๋กญ์ง ๋ง nodemon --help
์คํํ ๋ -I
์ต์
์ด ํ์๋์ง ์์ต๋๋ค. ๋ฌธ์ ๋ฌธ์ ? ~
์ ๊ฒฝ ์ฐ์ง ๋ง, ๋ด ๋์ด ๋๋ฅผ ์์๋ค.
@barraponto tmux
ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๋ฅผ ์ฌ์ฉํ๊ณ ๊ทธ ์์์ nodejs ์ ํ๋ฆฌ์ผ์ด์
์ ์คํํ์ญ์์ค.
์ด ๋ฌธ์ ๋ ์ต๊ทผ ํ๋์ด ์์๊ธฐ ๋๋ฌธ์ ์๋์ผ๋ก ์ ํด ๋ฐ ๋ถ์ค ์ํ๋ก ํ์๋์์ต๋๋ค. ๋ ์ด์ ํ๋์ด ๋ฐ์ํ์ง ์์ผ๋ฉด ์๋์ผ๋ก ๋ซํ๋๋ค. ์ด๊ฒ์ด ์๋ชป๋์๋ค๊ณ ์๊ฐํ๊ฑฐ๋ ๋ฌธ์ ๊ฐ ์ฌ์ ํ ์ง์๋๋ ๊ฒฝ์ฐ ๋๊ธ์ ๋ต์ฅ์ ๋ณด๋ด๋ฉด @remy ๊ฐ ํ์ ์กฐ์น๋ฅผ ์ทจํฉ๋๋ค.
๊ธฐ์ฌ ํด์ฃผ์
์ ๊ฐ์ฌํฉ๋๋ค <3
@leoliaolei tmux
์ ํจ๊ป nodemon ์ ์ฌ์ฉํ ์ ์์ต๋๋ค.
@remy ์ด ๋ฌธ์ ๋ฅผ ๋ซ์๋๋ฉ๋๋ค. -I
์ค์์น๊ฐ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํฉ๋๋ค.
๋ณํฉ ํ FAQ ํญ๋ชฉ์ด ์์ผ๋ฏ๋ก์ด ํญ๋ชฉ์ FAQ์๋ ์ถ๊ฐํ๊ฒ ์ต๋๋ค.
๐
์ฌ์ฉํ๋ ค๋ ๊ฒฝ์ฐ (๋ด๊ฐ ์ค์น ํ ๋ฒ์ ์ ์์ง -I ์ค์์น๊ฐ ์์) ๋ฐฐํฌํ์ "screen"๋ช ๋ น์ด์๋ ๊ฒฝ์ฐ (AWS์ ์์) ์ฐ๊ฒฐ ํด์ ๋ ์ ธ์ด ์ด๋ฆฝ๋๋ค. ssh๊ฐ ์ฃฝ์ด๋ ์ฃฝ์ง ์์ ๊ฒ์ ๋๋ค (๋ํ ๋์ค์ ๋ณต๊ตฌ ํ ์ ์์ต๋๋ค)
nohup nodemon app.js๋ ๋๋ฅผ ์ํด ์๋ํฉ๋๋ค!
๊ฐ์ฌ!
๊ฐ์ฌํฉ๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
๋์์ด ๋ ์ ์์ต๋๋ค :
nohup nodemon app.js </dev/null &
์ธ๋ถ ์ ๋ณด : https://github.com/remy/nodemon/issues/98