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

Fails with "state.src.replace" is not a function #42

Open
JonathanReeve opened this issue Oct 28, 2018 · 1 comment
Open

Fails with "state.src.replace" is not a function #42

JonathanReeve opened this issue Oct 28, 2018 · 1 comment

Comments

@JonathanReeve
Copy link

I can build my site just fine, but when I enable metalsmith-watch, each time I change a file, metalsmith-watch fails with this error:

[metalsmith-watch] ✔︎ layouts/page.pug changed
[metalsmith-watch] - Updating 5 files...
[metalsmith-watch] ✗ TypeError: state.src.replace is not a function

I'd be happy to help debug this, but unless I'm doing something wrong, I can't get metalsmith-watch to output debug messages (I tried DEBUG=metalsmith-watch metalsmith).

@JonathanReeve
Copy link
Author

Any insight into this issue? It appears to persist.

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

1 participant