From be04ddb61bc581c1766ff4efd05aee19a368e786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Mert=20Y=C4=B1ld=C4=B1ran?= Date: Sat, 20 Nov 2021 04:09:43 +0300 Subject: [PATCH] Update the `dev.sh` --- Development-Workflows.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Development-Workflows.md b/Development-Workflows.md index ff43f36..11ab054 100644 --- a/Development-Workflows.md +++ b/Development-Workflows.md @@ -174,8 +174,6 @@ This method involves doing everything on your local machine without requiring an Save this script to a file named `dev.sh`: ```bash -#!/bin/bash - rm -rf entries/ && mkdir -p entries && rm -rf pprof/* && make clean && make agent sudo setcap cap_net_raw,cap_net_admin=eip ./agent/build/mizuagent ./agent/build/mizuagent --api-server & \ @@ -185,8 +183,7 @@ GOGC=12800 NODE_NAME=dev TAPPED_ADDRESSES_PER_HOST='{"dev": ["localhost"]}' \ ./agent/build/mizuagent \ -i any \ --tap \ - --api-server-address ws://localhost:8899/wsTapper \ - --nodefrag & \ + --api-server-address ws://localhost:8899/wsTapper & \ PID2=$! && \ read -r -d '' _