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

Watch includes change #969

Open
01e9 opened this issue Mar 12, 2018 · 1 comment
Open

Watch includes change #969

01e9 opened this issue Mar 12, 2018 · 1 comment

Comments

@01e9
Copy link

01e9 commented Mar 12, 2018

I have a directory structure that copies api path structure

includes:
  - introduction
  - v1/users/header
  - v1/users/list
  - v1/users/get
  - v1/users/create
  - v1/users/delete
  - v1/posts/header
  - v1/posts/list
  - v1/posts/get
  - v1/posts/create
  - v1/posts/delete

When I change the includes: list the changes are not picked up by the server, I have to restart it.
I run the server with middleman server --watcher-force-polling (in docker).
Changes in existing files are working fine.

Can you make the changes in includes: to be picked by the server without restarting it?

@01e9
Copy link
Author

01e9 commented Mar 12, 2018

For example when I rename a file used in includes: I get error

Error: Could not locate partial: includes/OLD_FILE_NAME

@lord lord added the middleman label Jun 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants