## I think I opened this in the wrong forum - apologies

### Bug description

Windows 10 
R version 4.1.1 (2021-08-10)
R Studio 2022.07.1 Build 554
Quarto 1.1.251

New to Quarto, but have some experience in R Markdown.  When rendering a .qmd (via render button) as an HTML file the preview returns 'Not Found' regardless of whether preview is set to the viewer pane or window.  This happens only when I have set the `output-dir:` in the `_quarto.yml` to a sub-directory.  The problem doesn't occur when no `output-dir:` is set and the file.qmd is saved to the project directory.  I am able open the file manually from the sub-directory and it works fine - the problem only appears to be the preview.  

Looking at the Background Jobs tab I can see the following: 

Watching files for changes
Browse at http://localhost:4476/new_doc_3.html
GET: /docs/notebooks/new_doc_3.html (404: Not Found)

I can't seem to attach the .qmd or .yml files as requested in the Checklist below.  

The .qmd file is just the default text/format when initiating a new Quarto document. 
Here is my YAML:

project:
  output-dir: docs/notebooks

execute: 
  echo: false
  eval: false
  message: false
  warning: false
  
format: 
  html:
    embed-resources: true
    number-sections: true
    number-depth: 3
    toc: true
    toc-location: left
    toc-depth: 4
    code-overflow: wrap






### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
2022-10-13T00:17:00Z
RobTour
bug
v1.3
closed
Quarto preview in viewer pane (or browser) returns Not Found when output-dir: set to sub-directory
https://github.com/quarto-dev/quarto-cli/issues/2827