Skip to content

Commit

Permalink
Fixed a bug where files were not being copied on OS X
Browse files Browse the repository at this point in the history
This was due to a too-specific pattern match on file watching events
  • Loading branch information
gilest committed Dec 12, 2024
1 parent 29fb108 commit 9679cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix_importmap/watcher.ex
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defmodule PhoenixImportmap.Watcher do
end

def handle_info(
{:file_event, _pid, {changed_asset_path, [:modified, :closed]}} = _event,
{:file_event, _pid, {changed_asset_path, _events}} = _event,
%{importmap: importmap} = state
) do
importmap
Expand Down

0 comments on commit 9679cdc

Please sign in to comment.