Closed dwightgunning closed 8 years ago
I would love to get some comments/feedback on this.
I haven't really ever worked on the serve
parts (that'd be mostly @koenbok), but is the chdir
even needed here?
I can't really see anything in Listener
(or one of its subclasses) that relies on the current working directory (and all tests continue to pass without the chdir
, though I'm not sure serve
has great coverage).
Good point. Looking at the Listener class, it seems that it is passed the paths that matter and it's using them explicitly.
Let me take a look at the test-suite and see what I can do. BTW: nice job on adding tests for the 'serve' command.
Going to close and reopen to get automated tests running
Thanks @dwightgunning !
Tthe 'serve' command needs to apply the filesystem listener to the .build directory but continue to operate under the root project folder to ensure relative paths continue to work.