Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parenthesis in root or any parent directory name breaks live reload. #188

Closed
spoeken opened this issue May 27, 2015 · 5 comments
Closed

Comments

@spoeken
Copy link

spoeken commented May 27, 2015

Parenthesis in root or any parent directory name breaks live reloading. No errors in either consoles.

@spoeken
Copy link
Author

spoeken commented May 29, 2015

Can anyone reproduce this to make sure its not just me. Simply rename the root folder of your project to something with parenthesis i.e. "myProject (test)".

@Savageman
Copy link

Can confirm, had the same problem. Spaces in path are fine. Parenthesis are not.

@spoeken
Copy link
Author

spoeken commented Jun 9, 2015

I tried to simply escape options.contentBase in Server.js, no luck.

options.contentBase = options.contentBase.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");

@spoeken spoeken changed the title Parenthesis breaks live reload. Parenthesis in root or any parent directory name breaks live reload. Jun 9, 2015
@SpaceK33z
Copy link
Member

Just verified, it still happens. I also tested if running webpack works, but that doesn't work either. This means that it is a problem in webpack, not webpack-dev-server. Could you make a ticket over there (if there isn't one already)?

@SpaceK33z
Copy link
Member

For future reference, this is probably getting fixed with paulmillr/chokidar#535.

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

No branches or pull requests

3 participants