Skip to content
This repository has been archived by the owner on May 15, 2019. It is now read-only.

Fix/207 linux hot reloading #223

Merged
merged 8 commits into from
Nov 16, 2018

Conversation

sdbondi
Copy link
Contributor

@sdbondi sdbondi commented Jul 13, 2018

Fixes #207 (hopefully)

Using chokidar for file watching in the worker which fixes hot reloading on Linux.

}
}
}
if (localdir && message.watch) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why change this conditional? Reloading the function while in debug mode will break whatever debugging the user is doing if a file changes while they're debugging.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reviewing! I think I wanted to test/debug the block of code, removed the conditional and then forgot to add it back (as you do 😆) - good catch.

@psigen
Copy link

psigen commented Sep 22, 2018

Umm... does it normally take more than a month for CircleCI checks to complete? 😅

@AustinGomez
Copy link

Any update here?

@jmdobry jmdobry merged commit 9937c28 into googlearchive:master Nov 16, 2018
@hadyrashwan
Copy link

any idea when this fix is coming to the latest npm packge ??

@jmdobry
Copy link
Contributor

jmdobry commented Nov 19, 2018

Still a couple failing tests after the dependency upgrades, stay tuned...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hot reloading does not work for subdirectories in Linux
6 participants