Skip to content

Commit bf5191c

Browse files
committed
fix: create logfile in entrypoint
1 parent ee3addb commit bf5191c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

entrypoint.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
nohup anvil --block-time 2 -a 2 --disable-default-create2-deployer --balance 300 --mnemonic "album syrup crisp legal dinner artwork prize canyon diesel clown album quick" &
1+
touch logs
2+
nohup anvil --block-time 2 -a 2 --disable-default-create2-deployer --balance 300 --mnemonic "album syrup crisp legal dinner artwork prize canyon diesel clown album quick" > logs 2> logs &
23
sleep 10
34
forge script --chain sepolia --rpc-url http://127.0.0.1:8545 --broadcast -vvvv script/Deploy.s.sol
4-
nohup yarn run start &
5-
tail -f nohup.out
5+
nohup yarn run start > logs 2> logs &
6+
tail -f logs

0 commit comments

Comments
 (0)