Skip to content

EnsureNodeFiles not robust enough #1

Open
@cmxl

Description

@cmxl

I use the WebOptimizer.LESS and WebOptimizer.Typescript packages with the latest beta build.

Following folders will be populated with the node_packages:
%TEMP%\WebOptimizer.Node\LESS\
%TEMP%\WebOptimizer.Node\TypeScript\

As long as the folders did not exist before, everything works fine.
But somehow the initial files %TEMP%\WebOptimizer.Node\LESS\index.js and %TEMP%\WebOptimizer.Node\TypeScript\typescript.js were gone on my PC (maybe my antivirus software removed them).

The next runs never recreated those files because it is only ensured, that the certain folder exists, but never the needed files. Maybe EnsureNodeFiles needs to be abstract to check for those files in the concrete implementations.

PS.: I don't know if I should post this issue in the other repos, because it is somehow referred to the
EnsureNodeFiles function of the NodeProcessor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions