Closed ghost closed 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.
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.
All committers have signed the CLA.
Oops.