Document how to use fresh in a sub-directory (e.g `src/`)
See original GitHub issueDiscussed in https://github.com/lucacasonato/fresh/discussions/253
<div type='discussions-op-text'>Originally posted by o-az June 18, 2022
Moved islands
, routes
, fresh.gen.ts
, dev.ts
and main.ts
to src
directory.
Updated start
task in deno.json
to: deno run -A --watch=src/static/,src/routes/,src/islands/ --no-check src/dev.ts
.
Project runs and routes work but this error is consistently logged:
I’m trying to avoid this error. Is there a proper way to have a .src/
directory or is it not possible as of now?</div>
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
makefile - How to place object files in separate subdirectory
Any idea how I can get this to use C files in the current directory as the dependency while using $(OBJDIR) as the...
Read more >Dealing with files - Learn web development | MDN
To reference a file in a subdirectory, write the directory name in front of the path, plus a forward slash, e.g. subdirectory/my-image.jpg ....
Read more >Create your first directory - Learn the Command Line in Terminal
Use the command mkdir to create a directory. mkdir is short for "make ... create folders and files for your code via the...
Read more >Add items to your project | IntelliJ IDEA Documentation
If you want to create several nested directories, specify their names separated with slashes, for example: folder/new-folder. Creating a new ...
Read more >Configuration - MkDocs
Set a list of CSS files in your docs_dir to be included by the theme. For example, the following example will include the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fresh does it itself now (see //www/dev.ts in this repo). https://fresh.deno.dev/docs/getting-started/create-a-project elaborates on what the dev.ts file does.
The
fresh manifest
command does not exist anymore (the entire fresh CLI has been removed).