title: Pycharm: how to refresh Jupyter after changing the code of an imported module
body: <p>I am using a Jupyter notebook in Pycharm and from time to time I update external modules imported by the notebook. For some reason, the kernel ignores my recent changes and behaves as if the code wasn't changed. My current workaround is to stop and restart the Jupyter server but this seems like an overkill. Another thing that might be connected is a warning I get &quot;Notebook kernel doesn't match Project interpreter&quot;</p>
  <p>Did anyone encounter a similar problem and knows how to solve it?</p>