-
-
Notifications
You must be signed in to change notification settings - Fork 21
Eleventy Dev Server - CLI and watch option #45
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestneeds-votesA feature request on the backlog that needs upvotes or downvotes. Remove this label when resolved.A feature request on the backlog that needs upvotes or downvotes. Remove this label when resolved.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestneeds-votesA feature request on the backlog that needs upvotes or downvotes. Remove this label when resolved.A feature request on the backlog that needs upvotes or downvotes. Remove this label when resolved.
Type
Fields
Give feedbackNo fields configured for Vote Queue.
This is a clarification rather than an issue I guess
Testing Eleventy 2.0.0@beta and Eleventy Dev Server 1.0.0, particularly the
watchoption in conjunction with external NPM scripts for CSS and JS processing. Can I use the--watchflag with the CLI or is the--dirflag the intended method for now ?Everything works smoothly by doing
npx @11ty/eleventy --servewith a JS configuration andsetServerOptionsThings are working as well with the CLI using a global
--dir=\"./dist/\"flagIn some contexts, it would be great to be able to use the
--watchflag with an array of globs (to watch files that are not necessarily in a single folder). Is that possible now / could be implemented down the line ? Looked at the Eleventy Dev Server man page but didn't see a way to do it.