nx-firebase icon indicating copy to clipboard operation
nx-firebase copied to clipboard

Not possible to build firebase app when serving emulators

Open simondotm opened this issue 4 years ago • 1 comments

build target attempts to clean the functions app dist folder before building but access will be denied if the emulators are running as they have a watch on the dist assets

simondotm avatar Jun 12 '21 09:06 simondotm

One workaround for this that's working for me is to build with --deleteOutputPath=false This allows us to keep the emulators running in the background and do incremental builds. Should either document this or incorporate it more deeply etc.

simondotm avatar Jun 16 '21 11:06 simondotm

Gah. deleteOutputPath isn't a feature of the @nrwl/js:tsc executor which I'm using in the latest plugin version. And the equivalent clean option only makes an appearance in Nx 14.5.x

simondotm avatar Jan 25 '23 23:01 simondotm

Linking to #95

simondotm avatar Jan 26 '23 20:01 simondotm