Ask Your Question
1

Is there a way to avoid having to "colcon build" every time I edit Python code?

asked 2021-06-07 03:48:27 -0500

sansevieria22 gravatar image

I am using Dashing of ROS2. I am using Python Code. Every time I edit the python code in the node file, I do a "colcon build". Is there a way to avoid having to "colcon build" every time, even when editing python code?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-06-07 04:00:13 -0500

gvdhoorn gravatar image

Yes, use a symlinked install.

See #q371822 and Colcon - build - Build Packages:

--symlink-install

Use symlinks instead of copying files from the source and build directories where possible.

edit flag offensive delete link more

Comments

very nice! Thank you very much!

sansevieria22 gravatar image sansevieria22  ( 2021-06-07 04:22:18 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2021-06-07 03:48:27 -0500

Seen: 126 times

Last updated: Jun 07 '21