Open oluwandabira opened 3 years ago
Hey @oluwandabira, and others who might come across this: the underlying problem with file filtering has been patched: https://github.com/rdipardo/Fornax/commit/95e0361a270cd6ef3a65793afb1a7a3335684245 Let me know if it works for you
Tested it and I still get the same error.
So the underlying issue still seems to be with ignored file paths?
So the underlying issue still seems to be with ignored file paths?
So I thought, but not any more.
fornax build
should now be fixed: https://github.com/ionide/Fornax/commit/e6817040f3c7bffc4b78d04d0363b562f3c8bf1c
fornax watch
is broken, because an empty instance of SiteContents
is passed to the generator after a file event
I see there's no answer yet to #87, but I wouldn't expect the Generator to pick up this kind of error; it's only watching for the
FornaxGeneratorException
type:
Exceptions throw by generator scripts are emitted by FSI and not handled as far as I know.
Describe the bug Fornax crashes when attempting to build a project with error:
To Reproduce Steps to reproduce the behaviour:
dotnet tool restore
,dotnet fake build
,dotnet fake build -t Test
)fornax new
)fornax build
)Expected behaviour Fornax builds the site.
Environment (please complete the following information):