marko-js / cli

command-line tools for Marko
MIT License
95 stars 36 forks source link

Fix typo(?) in watchContext template literal #176

Closed ghost closed 3 years ago

ghost commented 3 years ago

Oops.

DylanPiercey @polo I think you might be looking for this https://github.com/marko-js/cli/blob/master/packages/serve/src/index.js#L41 GitHub marko-js/cli command-line tools for Marko. Contribute to marko-js/cli development by creating an account on GitHub.

The line you shared is used in order to force webpack to watch for Marko files that could be routed to.

By removing the + _ it will no longer discover new routes that are added while in dev mode.

jsf-clabot commented 3 years ago

CLA assistant check
All committers have signed the CLA.