-
-
Notifications
You must be signed in to change notification settings - Fork 497
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
Deleting a file should trigger a build #2798
Labels
Comments
was searching for this issue, have to manually rebuild locally after deleting a file watcher.on("change", async (path) => {
this.logger.forceLog(`File changed: ${path}`);
await watchRun(path);
});
watcher.on("add", async (path) => {
this.logger.forceLog(`File added: ${path}`);
this.fileSystemSearch.add(path);
await watchRun(path);
});
watcher.on("unlink", (path) => {
// this.logger.forceLog(`File removed: ${path}`);
this.fileSystemSearch.delete(path);
});
process.on("SIGINT", () => this.stopWatch()); https://github.com/11ty/eleventy/blob/master/src/Eleventy.js#L1069C5-L1085C50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: