Skip to content

Commit

Permalink
[core] Do not change the current working directory while starting a f…
Browse files Browse the repository at this point in the history
…s codebase
  • Loading branch information
pajama-coder committed May 14, 2024
1 parent d677d9e commit 2d60d52
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/codebase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ class CodebaseFromFS : public Codebase {
virtual void sync(bool force, const std::function<void(bool)> &on_update) override;

private:
virtual void activate() override {
fs::change_dir(m_base);
}

struct WatchedFile {
double time;
std::set<pjs::Ref<Watch>> watches;
Expand Down

0 comments on commit 2d60d52

Please sign in to comment.