This message was deleted.
# helpdesk
s
This message was deleted.
f
If you are running in
dev
and using sample app, it will hot reload on any changes - https://github.com/livekit/client-sdk-js#sdk-sample
c
no I don;t want reload sample.. I basically wanna compile the source code changes
@fancy-wire-61616
f
You can do
yarn install
to install dependencies and do
yarn build
to buld it.
c
okk Thanks .. let me try
can I use npm build also instad of yarn build
?
f
yeah, should be able to.
c
it created the files in dist folder. so when does package.json run ??
I need to update this in my package.json and see if files are generated corrcetly like livekit_rtc.js
Copy code
"protoc --plugin=node_modules/ts-proto/protoc-gen-ts_proto --ts_proto_opt=esModuleInterop=true --ts_proto_out=./src/proto --ts_proto_opt=outputClientImpl=false,useOptionals=messages,oneof=unions -I./protocol ./protocol/livekit_rtc.proto ./protocol/livekit_models.proto"
f
You can look at the
scripts
section in
package.json
. You can add a command with the above execution. Then you can call
yarn <your-command-name>
or
npm <your-command-name
to execute it.