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

wrangler dev for a script in a subfolder doesn't work with prefix ./ in the script name #147

Closed
ImPlotzes opened this issue Dec 20, 2021 · 1 comment · Fixed by #157
Closed
Assignees

Comments

@ImPlotzes
Copy link

When your want to run a script in a subfolder, for example when you're in a project root folder and your worker's script is in an src folder, then you can't do that if you write the command like this: wrangler dev ./src/worker.js. It works when you do wrangler dev src/worker.js, but not when ./ is added in the beginning.

@threepointone
Copy link
Contributor

threepointone commented Dec 20, 2021

Good catch. we'll fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants